How to create other ritm with different wf

Deepthi13
Tera Expert

i have a ritm once it is closed other ritm with different wf needs to insert then after completing this ritm request should close, please suggest 

10 REPLIES 10

I'm sure it's doable in workflow only also. But I will not suggest because:

Workflow is considered legacy, so you should really begin to move away from further developing on Workflows. Manage things that already is a Workflow, but don't develop new things with it.

 

As for the script goes; after you created the Subflow that does the actions you want, and published it, there is a menu option available to extract code to start the SubFlow from a script.

Copy and paste that script into a Workflow script action.

ok, then please elaborate subflow steps I am new to that can I help me to design it

Not sure what you mean by "subflow steps". as it is a single action needed to add the Submit Catalog Item Request.

Or did you mean steps to create a Subflow entirely?

Amit Verma
Kilo Patron
Kilo Patron

Hi @Deepthi13 

 

Below posts could be helpful to call another workflow from a workflow :

https://www.servicenow.com/community/incident-management-forum/ho-we-can-call-workflow-from-another-...

https://www.servicenow.com/community/developer-forum/call-another-workflow-activity-in-another-workf...

 

Thanks and Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Hi amit, this is creating another catalog task but on same RITM, I want altogether different RITM under same req, one 
ritm2 also close then request should close.

Can u please see this link and suggest will this works to my requirment
https://www.google.com/search?q=how+to+call+servicencatalog+api+in+servicenow&rlz=1C1GCEB_enIN1031IN...