Trigger workflow when state change

yandp
Tera Guru

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.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@yandp 

you should ensure flow is not configured to run only once

Set it with either Only if not currently running or For Every Update

AnkurBawiskar_0-1701419061130.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Anshu_Anand_
Kilo Sage
Kilo Sage

@yandp 

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

Regards,
Anshu