How to Re-Trigger a flow designer for a stuck record

Deepak Shaerma
Kilo Sage

Hi community, 

 

I have a requirement that due to some recent changes our flow designer is stucked. As per our flow designer, it was triggered 

whenver a RMA request is created on and then a Request Line is also created  and inside this Request Line --> some tasks is created. 

Whenver the Task 1 is closed, Approvals gets triggered on Request Line. But due to some changes approvals wasn't trigeered. I need to retrigger the flow for same RMA request or Request Line. Is any background script, or any other methods to do it.?? If this is possible please guide me . 

 

Regards

Deepak Sharma

3 REPLIES 3

SN_Learn
Kilo Patron
Kilo Patron

Hi @Deepak Shaerma ,

 

Please check the below thread if that helps

https://www.servicenow.com/community/developer-forum/trigger-a-flow-from-script-source-record-has-ch... 

 

https://www.womennow.sn/notebook/triggering-a-flow-with-a-script

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Deepak Shaerma
Kilo Sage

This is trigger with script . But my flow is triggered when a record is created. Please suggest 

Najmuddin Mohd
Mega Sage

Hi @Deepak Shaerma 

If you want the trigger the entire flow, navigate to particular flow in the flow designer and use 'TEST' functionality and give the record number to which flow did not trigger.

This will now trigger the entire flow.

But, the Task 1 that you told, when it is closed and approvals are generated (which did not generate), if the task1 is created from flow, then a new Task 1 will also be generated. (IF YOU ARE OKAY WITH THE DUPLICATE RECORDS).

The only concern here is that whatever the actions are present and it's dependencies like notifications before the Approval actions (which did not work), are created again.

Regards,
Najmuddin.