Catalog Task getting deleted automatically

ajay_thokala
Kilo Explorer

Hi All,

          I am facing an issue. For an RITM I have a workflow. In that workflow there are multiple catalog task activities connected one after other. i.e. tasks will be created one by one. I have 5 catalog task activities. So 5 tasks should be created. But for few RITMs only 4 tasks were getting created. When I check the workflow one of the catalog task is returning the result as Delete. I am not facing this issue for all RITMs. My confusion is why the task is getting created and then deleted. What are the possible reasons of this issue? I have checked the business rules to find any deletion operation was performed on sc_task table. I have nothing like that. Similar issue I have noticed in some other workflows also.

Any help will be appreciated.

Regards,

Ajay Thokala.

11 REPLIES 11

manikorada
ServiceNow Employee
ServiceNow Employee

Ajay,



There might be some current.setAbortAction() in your business rules which is aborting the action.



You can turn on Debug business rules and check to see what business rules are running at that time.


Hi Mani Kanta,


          I have checked for setAbortAction in BRs. and the result is negative.



Regards,


Ajay Thokala.


Ajay,



I would try to turn on Debug Business Rules and see what business rules are running at that time to see if there is anything aborting the action.


salemsap
Tera Expert

Hi Ajay,


Is it happening for you or happened for someone else.If you delete the task manually,that time also it will show the result as 'deleted'.


Check the logs,you may get some idea over there.