9.6 Debugging a Workflow

When testing a workflow, you might need to see the values of the variables you are using in the flow. Some options include:

9.6.1 Using the Log Activity

Use the Log activity to display messages containing the variables you need to look at. You can use scripting expressions in the Message property to retrieve the values you need. For example, you might use this expression to log a message containing the value of a variable defined on the flowdata object:

flowdata.get('my_variable')

For details on using the Log activity, see Log Activity.

After you configure the Log activity, navigate to the Monitoring page in the Workflow Administration Console to view the messages.

9.6.2 Changing Log Levels

A Workflow administrator and a SaaS operations administrator can change the log levels associated with the workflow system from the Logging Configuration page in the Configuration tab of the Workflow Administration Console. This approach might generate more information than you need, but it can be helpful during the debugging process. If you require assistance with changing the logging levels, contact your SaaS operations administrator.