Catalog Task workflow activity - result is deleted

valentin3
Tera Guru

Hello, 

I don't know if the topic selected is good, but anyways.

I have a issue with some workflows.  I have a workflow which created multiple tasks at the same time. 
The tasks have the wait for completion mark checked. 

After the RITM is created, the tasks are created and they stay in OPEN state, but the workflow is moving on and sees the tasks as "closed" even though they are not. SO, the RITM is now closed. 

After checking the workflow context, I see that the result for those activities is "deleted". 

Could you help me with some advice - how should I debug this? I couldn't find anything similar on community. 

Cheers,

V

1 REPLY 1

SwarnadeepNandy
Mega Sage

Hello @valentin3,

 

There are a few possible steps to debug workflow tasks in ServiceNow. One step is to check the workflow logs, which can provide information about the execution of the workflow and the activities. You can access the workflow logs by clicking the Workflow Log icon on the workflow context form or by navigating to System Logs > Workflow. You can filter the logs by the workflow context ID, activity name, or message type to find the relev...

Another step is to enable the workflow debugger, which can allow you to pause, resume, and step through the workflow execution. You can enable the workflow debugger by clicking the Debug icon on the workflow context form or by navigating to System Definition > Workflow Debugger. You can use the debugger toolbar to control the workflow execution and inspect the variables and pro...

A third step is to review the workflow design, which can help you identify any errors or inconsistencies in the logic or configuration of the workflow and the activities. You can review the workflow design by opening the workflow editor and checking the following aspects...

  • The workflow conditions that determine when to start, pause, resume, and end the workflow
  • The activity conditions that determine which execution path to follow after completing an activity
  • The activity inputs and outputs that pass data between activities
  • The activity properties that control the behavior and appearance of activities
  • The workflow variables that store data for use in the workflow
  • The workflow stages that indicate the progress of the workflow

I hope this helps you with your workflow issue.

 

Kind Regards,

Swarnadeep Nandy