SC_task is getting cancelled just after getting created.

VIKAS MISHRA
Tera Contributor

We have one cataloge item to raise the request , in that we are usingb the workflow activity "Catloge task" and it seems totally correct by just after the request gets created the task is gettiong canclled by itself without any reason, 

Can you suggest me why the task is getting cancelled just after getting created.

1 REPLY 1

Ratnakar7
Mega Sage
Mega Sage

Hi @VIKAS MISHRA ,

 

Here are a few possible causes and suggestions for troubleshooting:

  1. Workflow Conditions: Check the conditions defined in the workflow activity that creates the catalog task. Ensure that the conditions are set correctly and that they are not immediately cancelling the task. Look for any conditions that could be evaluating to true and causing the cancellation.

  2. Workflow Errors: Review the workflow activity and any subsequent activities in the workflow. Check for any errors or issues that could be causing the task to be cancelled. Look for any scripting errors, invalid configurations, or missing mandatory fields that might be causing the cancellation.

  3. Catalog Item Configuration: Verify the configuration of the catalog item associated with the workflow. Ensure that the catalog item is set up correctly and that there are no specific configurations causing the task cancellation. Check the catalog item's variables, conditions, and any related workflows or business rules.

  4. Workflow Debugging: Enable workflow debugging to get more detailed information about the workflow execution. By enabling debugging, you can track the flow of the workflow and identify any specific steps or conditions that are leading to the cancellation of the task.

  5. System Logs: Check the system logs (syslogs) for any relevant error messages or warnings related to the cancellation of the task. Look for any clues or error codes that might indicate the cause of the cancellation.

  6. Scoped Applications: If you are working in a scoped application, ensure that the necessary permissions and configurations are in place for the catalog item, workflow, and associated records. Scoped applications may have additional settings or restrictions that could impact the behavior of the catalog task.

Thanks,

Ratnakar