Approvals error in Flow

ray evans
Tera Guru

I have a flow which uses a for each loop over MRVS and creates new RITMs for each row - I then delete the main RITM on the condition that it has no assignment group...

 

I have an ask for approval action (which did work) but no longer does, because the trigger requested item doesn't exist (it was deleted as mentioned above).

 

In fact, any action that points to the trigger requested item is now failing (wait for condition, update record) and I can't use the requested items in the for each loop

 

rayevans_0-1673229893443.pngrayevans_1-1673229928604.pngrayevans_2-1673229958452.png

 

 

Now this worked before (everything in the flow was working) until I tried adding a few different items (running on different flows). Then it seems like some gremlins got loose. 

5 REPLIES 5

Vasantharajan N
Giga Sage
Giga Sage

In Step 10 - You are deleting the sc_req_item table record which triggers this flow. So remove the step from your flow.  Instead of delete. You could add work notes to the sc_req_item table and update the state to Closed Skipped.


Thanks & Regards,
Vasanth

Hi

 

This was working with the delete step before and the approval process worked without any error. I need to delete the record as it impacts the price on request and also shows in the request summary. This all worked fine and I was able to update requested item record throughout the flow until yesterday

if you wanted to delete the RITM then try to add one more condition and check whether the record exists. if exist update it.


Thanks & Regards,
Vasanth

Could you please give me an example of how to do this condition in flow?

 

Thanks