Updating stage in flow designer is causing a separate update of a requested item

kc1959
Tera Contributor

Hello,

we have a flow where we set a 'stage' value (Completed) using the flow stages - this is as recommended by ServiceNow instead of setting the stage in an 'Update Record' action.

Immediately after the above stage change we have an 'Update Record' action where we set the 'state' to 'Closed Complete'.

Unfortunately this is triggering a double update to the Requested Item which is sending out duplicate closure emails due to a Business Rule that is triggering 2 separate events because the 'state' is (apparently) being updated twice at exactly the same time.

This is despite the 'Update Number' in the history having the same value as you can see in the screenshot below.

 

Has anyone encountered this issue before?

 

kc1959_0-1692621126252.png

 

4 REPLIES 4

SANDEEP28
Mega Sage

@kc1959 Can you share you flow designer screenshot  here

kc1959
Tera Contributor

Thanks for the reply. 

Here is the part of the flow setting the stage and then the state fields...

kc1959_0-1692624211074.png

 

SwarnadeepNandy
Mega Sage

Hello @kc1959,

Stage is a field in RITM, table which contains the actual stages of the flow. So, update of stage in a RITM would automatically trigger update.

 

Kind Regards,

Swarnadeep Nandy

Thanks also for the reply.

I was a little confused because both of the updates in the first screenshot have the same update number which doesn't make sense to me.

It could be that there is another Business Rule that is setting the state to 'Closed Complete' when the stage is set to 'Completed' - I'll take another look.

 

Thanks.