Setting a RITM's stage from a subflow

Stephen W_
Giga Guru

I have a main workflow that handles RITMs and a subflow that handles approvals on that RITM.   They both work on the same table.

I have multiple types of approvals and have a stage defined for each.

 

Before I broke out the approvals to a subflow, each approval was assigned a stage allowing the specific progress to be visible from a list.

The three stages are attached to activities in the subflow, but they appear to do nothing to the RITM stages.

 

How can I set the stage from a subflow?

 

Ronald P. had a similar question I think.. but he didn't receive a very helpful answer and I don't understand how to implement his "aha":

I think I see what I missed. I have to associate the field to the Stage property in the Properties of the workflow.   Ronald Prohaska

 

Any ideas?

 

Thanks,

-Stephen

2 REPLIES 2

Brad Tilton
ServiceNow Employee
ServiceNow Employee

You might have to use a set values or run script activity to set the stage. I'm not sure you can do it in 2 different workflows on the item.


geoff3
Giga Expert

Hi Stephen,



It sounds like Ronald Prohaska was talking about using Stages on a non RITM or SCREQ task.


The stage field is only on the sc_req_itm and sc_request tables, not the Task table. So when you want to display Stages on another table (for example, Change Request), you need to specify what field to store the Stage in on that table.   You do this by selecting a Stage field in the Workflow Properties.   But since you're working in RITM, it's not relevant.



Screenshot.PNG