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

kumaran
Giga Expert

Hi Ajay,


I am also facing the same issue..Did you fixed the issue?


Pleas let me know


Daniel Pettet
ServiceNow Employee
ServiceNow Employee

I just had this problem when working with a customer. Through debugging the process it was quite straight forward in our case.



The workflow was actually spitting out a "Data Policy Exception" (shown in the user interface on the last approval step). This was because the catalog task that was being created didn't meet the requirements of the data policy. Therefore, the creation of the sc_task failed and was set to state "deleted". Setting the data policy to in-active and retesting provided a happy result .



If you are finding that the sc_task is not being created properly then check if there is an exception somewhere aborting the creation of that task. Business rules, Data policies and other funky areas. Enabling various debug modes may also help here.


Hi Daniel,



Which data policy did you make in-active


Hello Daniel,



I am having the same issue here, But couldn't find any BR's having abort action and data policies too. Please let me know any other ideas and your help is highly appreciated here..



Thank you,


Naveen


bhavisha4
Kilo Explorer

I am also facing the same issue in one the workflows . However verified the BRs abd did not found any BR with abort action true.



Kindly suggest.



Thanks,


Bhavisha