How do I update both Request and Request Item in a single flow?

vidhya_mouli
Giga Sage

I have a requirment. When RITM is rejected RITM State (sc_req_item) and Requested state (sc_request) both should get update. However only one record is getting updated (attached image for reference). Only Step 6 gets executed. How to correct this and make both 6 and 7 to run?

 

Flow-Designer-Operations-View-Flow-for-IT-Catalog-Deliveries-Approval-Single-RITM-V3-Execution.png

10 REPLIES 10

Peter Bodelier
Giga Sage

Hi @vidhya_mouli,

 

According to your screenshot step 6 is not executed, but cancelled.

I guess you have logic which closes a ritm based on a rejected approval. This cancels the flow running flow.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

So how do I ensure that both the records gets updated in the same flow? Is there a way to do this?

You will need to find what closes the ritm, and determine if you indeed want to stop it closing that way. (Because this will most probably affect other ritms as well)

There is no way you can do this from the flow, as long as it gets cancelled by something outside the flow.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

Ankur Bawiskar
Tera Patron
Tera Patron

@vidhya_mouli 

please share the Update Record action which is getting failed with screenshots?

are you querying correct record?

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