- 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 10:34 PM
welcome !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 11:14 PM
I have a concern here, the condition you mentioned is holding the workflow until RITM is closed manually but End activity is getting cancelled even though i select one check or two check boxes or 3 or none. It is setting to Cancelled in workflow.Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2020 11:21 PM
Hi,
Since you will be having manual tasks.
You should use after update BR on sc_task so that when manual tasks are closed RITM should be closed
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
‎12-01-2020 12:02 AM
thanks ankur for the response.
RITM should be closed manually as well.So the workflow is waiting untill user closes ritm manually but in the end activity it is setting to cancelled even though ritm closed by selecting closed complete dropdown.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-01-2020 12:05 AM
Hi,
please redirect all your 'if' condition 'no' nodes to your join activity
Regards,
Apeksha