Task closed incomplete should not trigger further task

Mounica2
Tera Contributor

I am having a Request item where there are multiple tasks in catalog task definitions. I have used flow designer to trigger task based on the conditions. This is working fine when the tasks are closed complete. But when I mark the task as 'Closed Incomplete', the request is also marked as 'Closed incomplete' but even after that a second task is being created. This happens very inconsistently and I am not sure how to resolve this issue. I have already set the catalog task flow logic as 'End flow on Closed Incomplete'. Please guide me on the solution

 

6 REPLIES 6

Hemanth M1
Giga Sage
Giga Sage

Hi @Mounica2 ,

 

Would you mind check if any BR or flow running when task state changes to closed Incomplete and setting RITM to Closed Incomplete??

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Hi @Hemanth M1 
Yes. We have this flow logic set as 'End flow on Closed Incomplete'. Other than this I see one BR on sc_req_item as below, but I am not sure if this will be reason for my issue

Mounica2_0-1687239204058.png

 

 

Hi @Mounica2 ,

When this BR triggers?? before update or after update and condition (seems to be the culprit for your issue)

 

this  BR :

1)check for count of all the task associated to RITM

2)Check number of task closed incomplete which are associated to current RITM

 

if (number of task <= number of closed incomplete task) >> it will set the RITM to closed incomplete. 

 

in your example if your trying to set any task to closed complete and you have other tasks which are not in this state> RITM will be set to closed incomplete.

 

inactive this BR and test your scenarios.

 

Thank you,

Hemanth 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

This task is running in before,

Mounica2_0-1687240968636.png

But I am not sure if you have my issue correctly. In my issue, I am not trying to make any task 'Closed complete'. I am just making the first task 'closed incomplete' and it is making the RITM as well 'closed incomplete.' But after this is completed, a new task is created and getting associated with the RITM even though they are already closed incomplete.