cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

In state machine workflow how to check whether item is edited by user after rejection of approver

Jump to solution

Hi All,

We Are using the state machine workflow. In that we have 2 states one is approve and other is request update.Once approved it will go to next level. On request update option it has to go back to initiator , once initiator modifies the item it has to go back to approver again. how to check whether iniator edited the item. Please give me your thoughts

Regards

Hema

0 Kudos
Reply
5 Replies
Workflow Hero

Re: In state machine workflow how to check whether item is edited by user after rejection of approver

Jump to solution

I usually have a manual status column on the item.  So it will be like:

  1. Awaiting Approval
  2. Awaiting Update
  3. Approved

When rejected make status "Awaiting Update" then when the user makes the change in the form, connect the button to status field so that on submit of the form again the status changes to "Awaiting Approval"

In your awaiting update branch have "wait for item update" and look at the status change.

Does that make sense?

0 Kudos
Reply
Workflow Hero

Re: In state machine workflow how to check whether item is edited by user after rejection of approver

Jump to solution

Thank you so much for the reply. Few confusions in this.

1. In user form do i need to set the status field default value to "Awaiting Approval"?

2. If we are not setting the default value,On item change how the status field will update?

0 Kudos
Reply
Workflow Hero

Re: In state machine workflow how to check whether item is edited by user after rejection of approver

Jump to solution

you can link your button click to setting a field value.  if you look at button settings you should see it.

0 Kudos
Reply
Workflow Hero

Re: In state machine workflow how to check whether item is edited by user after rejection of approver

Jump to solution

Thanks a lot, it worked for me.

But any idea why it takes lot of time to go back to previous step. 

0 Kudos
Reply
Workflow Hero

Re: In state machine workflow how to check whether item is edited by user after rejection of approver

Jump to solution

State machine waits for the timer service to change states - so can take a while to change state depending on your config.

0 Kudos
Reply