I am encountering an issue in 2 workflows in which...
# suiteflow
d
I am encountering an issue in 2 workflows in which a user is approving a custom record, so the status should change to approved. When viewing the workflow log, it indicates it has set the field to approved, however, it is still showing pending in the UI... anyone else encountering this issue?
e
Native records have
status
and
approvalstatus
. Are you sure the custom record doesn't have two different fields and maybe the wrong one is set?
d
It's using a custom list of approval statuses.
e
When it reaches the Approved Status, does the WF stops? It can stop if you check the
DO NOT EXIT WORKFLOW
, or if a condition is set in order to avoid the WF starting again with a Pending Approval status.
d
No, there are other states after approval. We add more buttons for the employee to choose if the record (a change control) was successful, failed, or they canceled the change. So it is sitting in that state waiting for someone to click another button.
j
Are there any other workflows on that record? I encountered a similar issue where button was clicked and field change was logged in WF log, but field didn’t change on record. Turns out another workflow was doing a
Return User Error
and thus the change didn’t get saved.
d
I do have another workflow running on it... I'll check that!
So the problem is a combination of your 2 answers! I have a separate workflow running that does continue to run any time the record is edited, so it was setting that field back to pending. Thanks you guys are the best!!!
e
Great!