Workflow activity is cancelled.

Saurabh Kumar2
Mega Guru

I seem to have a strange issue with a catalog item workflow. At one area of the workflow, I am using the "If" activity and it is cancelled automatically.

Similar issue I have been with SLA timer activity.When workflow is attached ,it is showing the activity is cancelled.

Did anyone face similar type of issue?

1 ACCEPTED SOLUTION

Saurabh Kumar2
Mega Guru

Thanks all !!!



Actually the issue was related to timing.It was double threaded workflow and now i tried to add a Delay timer(5 Sec) activity in one of the thread and it is working fine.


View solution in original post

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Saurabh,




Can you please provide the screenshot of the same and also paste,if you have any script in the "IF" activity in the workflow.



Thanks,


Pradeep Sharma


solutioningnow
Giga Guru

Greetings Saurabh,



There are 2 reasons for this,



1) Your workflow ran out of max activity limit while execution, you can increase size of max count activity from the workflow properties.


2) your record might be getting active = false, you need to check if that record is getting active=false from any Business rule or any other places.



Please mark answer as correct/helpful, if it was really helpful 🙂




Regards,


Solutioner


Logo.png


Enhance Knowledge NOW@ www.solutioningnow.com


http://www.solutioningnow.com/


rajesh73_k
Kilo Expert

Could you check what is maximum count of workflow activity?



If the number of executed activity count exceed the maximum number of count defined for workflow, it cancel.



You can check executed activity count in workflow context.


randrews
Tera Guru

when you look at the workflow log for the item... does it show any errors in the workflow log?



go to workflow and look in all contexts .. under ID find the one for that item.