"XYZ" Activity Set state changed to Error because a workflow was cancelled

Dawn25
Tera Expert

Hi Community,

We received the following message after cancelling an inflight “Lifecycle Event” case before all “Activity Sets” were “Finished”

 "XYZ" Activity Set state changed to Error because a workflow was cancelled"

Wondering if anyone can possibly explain what is happening...

  1. Are there any immediate or long term implications when this happens?  Should we be concerned?
  2. What is the best practice to cancel an inflight “Lifecycle Event” Case to avoid receiving an “Error”

 Thanks for your support.

2 ACCEPTED SOLUTIONS

Community Alums
Not applicable

Hi @Dawn25 ,

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/utah-employee-service-management/page/product/human-resourc...

 

View solution in original post

grzegorz_wrobel
Tera Expert

Hello All,

 

In case someone will look for it in the future, I can share the source of this message. This message is posted by "On-cancel script" of HR Activity Launcher workflow (Workflow -> Administration -> Workflow Versions).

Greg

 

 

View solution in original post

7 REPLIES 7

Ct111
Tera Sage

Hello , please check this support article which talks about similar issue

 https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0813063

And see if it helps.

Mark my Answer as Correct and Helpful if ot helps

grzegorz_wrobel
Tera Expert

Hello @Ct111,

Can you please share content of this article? When I open this link I got the message that I do not have permission 😞

 

I'm trying to find a source of this message and I cannot locate it.  

Regards

Greg

Community Alums
Not applicable

Hi @Dawn25 ,

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/utah-employee-service-management/page/product/human-resourc...

 

Hi Sandeep,

Thanks for the additional support on this.  This information is useful.