- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 04:41 AM
Good afternoon,
I have created a flow where when the SC is closed, it will close the RITM.
However i am struggling to add the steps where - After the RITM is closed, it should close the REQ
When i am trying to add the Action, i do not see REQ in the Data pill to choose-
Please advise how can i add the REQ to close please.
One of my colleague said it should automatically close REQ, which is not happening either, hence working on the flow
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 05:17 AM
Hi Danish,
I created a new BR using this script -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 04:50 AM
Greetings!!
Could you please check the OOTB Flow , may be you need to set the stages as well.
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
11-30-2023 05:15 AM
Hi Atul,
I couldn't manage to open the page. I changed the instance name too, but no good.
I checked there's an OOB BR which was enabled but it did not close the REQ as needed.
I created a BR using this (which i saw in another post ) -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 04:51 AM
Hi @Gurpreet Kaur5 ,
you can instead create a BR on RITM table n trigger when state is changed to closed complete. In advanced section u can write this script
var gr = new GlideRecord('sc_request');
gr.addQuery('sys_id',current.request);
gr.query();
if(gr.next()){
gr.state = 'closed_complete'; // update backedn value of closed complete
gr,update();
}
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 05:17 AM
Hi Danish,
I created a new BR using this script -