Why do workflows and tasks only cancel when RITM state changes to 'closed incomplete'

cfran5991
Kilo Expert

I found this business rule running on the task table: Cancel Workflows Upon Cancellation

Whenever a records state changes to 'closed incomplete', it ends the workflow and all the tasks. This makes sense. However, if you were to mark the RITM to 'closed complete', the RITM would be deactivated, but the workflow and tasks would remain open. 

Can anyone help me understand why manually changing the state to 'Closed Complete', or 'Closed Skipped', wouldn't act the same way as 'Closed Incomplete' out of the box?

Thanks!

3 REPLIES 3

Kalaiarasan Pus
Giga Sage

There are some business rules on task table that auto closes the task or the child records on closure of parent record. You can extend those to apply for RITM's.

 

To answer your specific question, I am not sure if that is the OOB behavior. Have you tried that in a fresh developer instance?

cfran5991
Kilo Expert

Yes, these were my results from a personal dev instance:

1) manually setting RITM State to closed complete inactivates RITM, but workflow and tasks stay open

2) manually setting RITM State to closed incomplete inactivates RITM, workflow cancels, and tasks close

 

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Ideally, this should cancel the workflow but it will not cancel the task as i know.


thanks,

Ashutosh Munot