In flow designer any ofparallel tasks closedincomplete it should closedincomplete ritm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 11:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 01:33 PM
Use 'End Flow' Action after the RITM Update so that the flow won't be in waiting state for the other CTASK to be moved to closed complete/incomplete state.
The Other CTASK will be in Open State do you want to auto-close that or is there any sync from RITM State to CTASK State for closed incomplete?
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 01:48 PM
Think of this the other way, OOTB the RITM will be set to closed automatically if all of the SCTASKs are closed. So in both the parallel steps, just make sure to close the other SCTASK when one of the SCTASK is closed. This will ensure all the records are closed and there are no records hanging loose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 02:13 PM
Hi @tejaswi akoj ,
Approach 1:
- Create Catalog Task action with 'Wait For' Condition
- 'If' Flow Logic where you check If Task State - Is Not - Closed Incomplete - Generate next task.
This could provide a solution to not continue the Flow if the Task isn't Closed Complete.
Approach 2:
1. Create one new flag/field on RITM (true/false).
2. Create BR to check if state of sc_task is closed complete and mark that flag as true.(you can do it in Flow designer as well).
3. Once the RITM is updated and the flag is true then create incident or do whatever your further requirement is(you can do it in FLOW).
Note: - keep in mind that if any sc_task closes complete and flag is already true then do not do anything.(as per your requirement in question -->As we need to perform other actions once anyone of sc_task is close completed)
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda