Why can't we update RITM Stage like a normal field?

kim-lindgren
Kilo Sage

Hi All,

 

Having to add stages to a RITM flow causes a lot of unnecessary work and limitations. For example, you cannot use subflows as easily because subflows cannot set stages for the parent flow. You also cannot use solutions like, for example, letting a third flow setting a RITM to Closed Incomplete when either of its tasks are cancelled.

 

kimlindgren_1-1737559465420.png

 

I wanted to try updating stages with a simple Update action, but of course you cannot do that: The stages are not displayed normally in the RITM table or on the RITM in the Service Portal (first RITM). Only when I add stages in the normal way in the flow does the RITM actually display stages visually (second RITM).

 

kimlindgren_0-1737559353878.png

 

Sometimes, using an Update record action to update the stage also creates the weird effect of showing the value of the Stage field instead of the label.

kimlindgren_3-1737560501020.png

 

 

Is there any way around this? For example, perhaps coding stages would be a solution, but I'm not sure how that would work.

 

Regards,

Kim

1 REPLY 1

Viraj Hudlikar
Giga Sage

Hello @kim-lindgren 

 

In my case I usually take a approach where I utilize the existing oob stages available in ritm table which is present over stage field. In case if stage is not available I try to define stages under flow in configure stages option and use same across the main flow. I agree with point that when subflow is used and when we need to update stage it doesn't work as expected so when subflow is called we can set stage above the call.

 

Check this thread which might be helpful to you 

 

https://www.servicenow.com/community/developer-forum/how-stages-are-updated-on-ritm-stage-field-from...

 

https://www.servicenow.com/docs/bundle/utah-build-workflows/page/administer/flow-designer/concept/fl...

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards

Viraj Hudlikar.