Problem task auto closer issue

nehasingh98
Tera Contributor

When problem is marked as closed then all open tasks are getting auto canceled. I want to restrict auto closer of task as well as problem if there is any open task associated with.

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @nehasingh98 ,

 

You have to do 2 things.

1. Deactivate the property which is responsible for closing the PTASK.

RunjayPatel_0-1732117119853.png

 

2. Create one before business rule and trigger it when state changes to close. In BR Gliderecord on pTask and look for any active pTask, If found then do current.setAbortAction(true).

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

 

 

View solution in original post

Here in this Video, I have covered the Custom Application Pattern Troubleshooting and configuration Thank you for visiting my channel. Here, I'll share various technical knowledge. Feel free to reach out to me directly for any Service Now-related queries. Your support encourages me to consistently
2 REPLIES 2

Runjay Patel
Giga Sage

Hi @nehasingh98 ,

 

You have to do 2 things.

1. Deactivate the property which is responsible for closing the PTASK.

RunjayPatel_0-1732117119853.png

 

2. Create one before business rule and trigger it when state changes to close. In BR Gliderecord on pTask and look for any active pTask, If found then do current.setAbortAction(true).

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

 

 

Here in this Video, I have covered the Custom Application Pattern Troubleshooting and configuration Thank you for visiting my channel. Here, I'll share various technical knowledge. Feel free to reach out to me directly for any Service Now-related queries. Your support encourages me to consistently

Thank you for your response! Will configure it and let you know.