Trigger workflow when state change

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 11:34 PM
Hi all,
I set my flow designer triggered when state change to "Work in progress".
If approver rejected the record state change back to "Open"
Issuer will then submit again, state change to "Work in progress", flow will start from approver 1 again.
the first time resubmit, the flow got triggered.
however, when 2nd time rejected , flow cannot start again.
I think it is related to the "triggered type" , what condition i should select?
Hope to hear from you. Thank you so much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 12:25 AM
you should ensure flow is not configured to run only once
Set it with either Only if not currently running or For Every Update
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 12:33 AM
If approver rejected the record state change back to "Open"
Is the state also set inside the flow ? if yes then you can also use
"do the following until" action which is kind of do while loop and until the condition does not met,
it will repeat all the steps you mention inside that loop
Hope its helpful
Anshu