Auto Cancel Lifecycle Event Case

Hemalatha1
Tera Contributor

Hi There 

 

Can someone please help correct/write the Business Rule for the below logic. The one we have written is not working.

We need to auto cancel the Lifecycle event case when the subject person HR profile becomes inactive.

Before cancelling the LE case it also needs to check if one of the particular HR Task is closed complete. 

 

Hemalatha1_0-1665560214312.png

 

Hemalatha1_2-1665560810160.png

 

 

 

2 REPLIES 2

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Hemalatha1 

 

This won't be a good way to close Lifecycle Case directly. 

 

You can use Rescind Process of Lifecycle Event to cancel Lifecycle Case and also to revert some tasks like deactivating account, informing Managers, etc.

 

Please check below link:

https://docs.servicenow.com/en-US/bundle/tokyo-employee-service-management/page/product/human-resour...

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023

Casey4
Tera Contributor

@AnubhavRitolia  - Can this be done through an API: like rescind the LCE case and delete the user/hr profile?