Hi, We are facing issue on the RITM level for which work flow was not triggered
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 08:22 AM
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.
Here we can observe no workflow but the stage and state got closed complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 08:29 AM
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 08:30 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 08:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2024 09:03 AM
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]
****************************************************************************************************************