- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 09:35 PM
Tasks are closed Incomplete as soon they are created from workflow.
I have a requirement to close RITM manually by the user and here I have 3 automated tasks.
Here is the scenario : I have 3 check boxes,if Check box 1 is selected,it should trigger Task A, If user selects Check box 2 then it should trigger Task B and similarly if Check box 3 is selected Task C should be triggered.Once all these tasks are closed the requirement is RITM should remain in Work In Progress and should have capability of creating manual tasks and once all tasks are closed then user will select RITM state drop down to Closed Complete manually.So for this i made set state to WIP in workflow at end but the tasks are creating in Closed Incomplete state and workflow is getting cancelled not sure.
Please find the attached workflow.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 09:55 PM
Hi Pintu ,
you just need to add wait for condition in workflow after set Value activity , In the wait for condition select the condition as 'state is Closed Complete' .
so this workflow will wait till the user sets the RITM to closed complete and will not instantly complete the workflow .
Regards,
Apeksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 09:51 PM
Hi,
Possibly your workflow is reaching end from one of the Catalog Task path.
Are you having any BR which sets RITM State once all tasks are completed?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 09:53 PM
Hi there,
Looking at your workflow design, the task being canceled is valid. This is due to the path with the Set Values utility which immediately goes to End. Therefore, other paths will be canceled. So this is completely according to your design.
Consider using a join for example.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 09:55 PM
Hi Pintu ,
you just need to add wait for condition in workflow after set Value activity , In the wait for condition select the condition as 'state is Closed Complete' .
so this workflow will wait till the user sets the RITM to closed complete and will not instantly complete the workflow .
Regards,
Apeksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 10:27 PM
Thank You Apesksha. It worked like a charm.