Debug Permanent Workflows

  1. If your permanent workflow is performing a critical task and you want to debug it, you can first disable your permanent workflow by unchecking the Enabled checkbox.

 

image-20240626-205748.png
  1. Open your permanent workflow in Workflow Studio, drag the line coming out of the ClaimWF activity, and join it with the DoWork system code activity.

 

image-20240626-215301.png
Before

 

 

 

  1. Now, in the code (DoWork_ExecuteCode), place logging wherever you want to place it.

  1. Publish the permanent workflow from Workflow Studio and also in the EmpowerID UI.

  2. Now go to the workflows page, search for your permanent workflow, run it, and check the logs in DebugView or EventViewer.

After debugging the permanent workflow, don’t forget to reconnect the lines to their original configuration in your Workflow Designer and publish it.