You are viewing limited content. For full access, please sign in.

Question

Question

How to utilize "Last Modified By" in Workflow for decision making?

asked on November 19, 2020

I am trying to set up a process that will require certain users to approve or reject a file, and I want to make sure that the right user is approving the file. I am also trying to get everything into a single workflow and not break it up into multiple workflows so starting rules won't work here.

Ideally, I want the process to use a "Wait Condition" where it waits for a certain field to be changed and have it not move unless a specified person is the one who made the change.

0 0

Answer

SELECTED ANSWER
replied on November 19, 2020

Wait for Entry Change allows you to specify conditions on the user making the changes.

1 0
replied on November 19, 2020

Perfect! Is there a way that I could have the approval field reset itself to "pending" if it was approved by someone other than the required user?

0 0
replied on December 3, 2020

It would be slightly more complicated, but yes, you could.

Wait for Entry Change produces tokens with the name of the user who made the change, but those are only available once the activity completes. So we need to change what we're waiting on a bit.

So instead of waiting for the field to be set to "approved" by a specific user, we're just waiting on it to no longer be "pending". Then evaluate who made the change and set it back to "pending" if the user is not the right one. That's the Wait For Entry Change plus Conditional Sequence above.

The problem you have then is that if the wrong user made the change, you still want to wait for the right one, except that now you're outside the wait activity. That's where Repeat comes in. If the status field is still "pending", Workflow will go back into "wait and check who did the work" steps.

1 0
replied on December 3, 2020

Brilliant, thanks!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.