Wanted to cancel the RITM, its workflow and associted approvals and tasks from background script

PRASHANTHI SATH
Tera Contributor

Hello,

 

I wanted to cancel RITM, its workflow and associated approvals and tasks using script at backend. Please help me with this.

 

Regards,

Prashanthi Sathri

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

Update the state to 4, which is 'Closed Incomplete' then OOTB Business Rules will cancel pending tasks, workflows, etc.