We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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
Mega Patron

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