Hi, We are facing issue on the RITM level for which work flow was not triggered

rajeshKongamudi
Tera Contributor

Hi community,

 

We are facing issue on RITM level which the stage and state got closed complete which doesn't have any workflow attached to it this is strange we can't able to figure it out, can someone please help us on this issue. Thanks in advance.

 

rajeshKongamudi_0-1708100352556.png

 

Here we can observe no workflow but the stage and state got closed complete

rajeshKongamudi_0-1708100501036.png

 

14 REPLIES 14

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @rajeshKongamudi 

 

To start a workflow in an RITM, the "Stage" field needs to be marked as "Request approved".

Once this is approved, the following script will start the workflow "Start workflow":

https://<instance-name>/nav_to.do?uri=sys_script.do?sys_id=700cb3c9ac14657b005f7aaef70e1fc8 

Check that the condition for the workflow is 'current.stage=='request_approved' 

In an OOTB configuration, the "Cascade Request Approval to Request Item" script marks the stage as request_approved:

https://<instance-name>/nav_to.do?uri=sys_script.do?sys_id=2d0885b4c61122840070856bf5994bca

For this business rule to run, the request's "Approval" field needs to be marked approved. Check this condition:

if (gr.stage == "waiting_for_approval" && current.approval == "approved") 

The request level workflow marked it approved. 

If it is missing, this can cause the issue.

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @rajeshKongamudi 

Greetings!!

 

Could you please check the flow/wf has been mapped to item

Flow./ WF is published

Flow/WF is has running condition like Action has been set up

Last , share the screenshot of flow/wF.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG ,

 

I have published the workflow as well 

rajeshKongamudi_1-1708102707365.png

 

 

May be a workaround, checkout WF, add some comments and check in again.

and also remove from item and add again. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************