Skip to main content
Skip table of contents

Troubleshooting Workflows

Problems can sometimes arise within a workflow. Quickly troubleshoot workflows to pinpoint the issue, assess the necessary changes, and get the workflow up and running again.

Accessing the Workflow executions page

To begin troubleshooting, access the Workflows Executions details page:

  • Go to Workflows > Manage workflows.

  • Click on the relevant workflow to open the Edit Workflow page.

  • Click the Workflow overview button in the top-right corner of the page to view the Executions page.

WF - 170799243.png

After you’ve accessed the Executions details page, select a specific workflow execution. The workflow timeline widget appears.

WorkflowExecutions.png

Using the Workflow timeline

The workflow timeline is a graphical representation of the sequence of events and actions that occurred when the system executed the workflow.

The timeline is organized by:

  • Execution ID: The unique identifier of the workflow execution used in NQL investigations.

  • Current status: The overall status of the workflow at the current point in time.

  • Duration: The total time taken between the start of an execution and when it reaches an end state.

  • Trigger: The method used to trigger the workflow. Methods include:

    • Manual

    • Schedule

    • API

  • Status: A timeline that lists each event in a separate row. Each row displays the following information:

    • The date and time that the system began processing the action.

    • An icon depicting the type of action.

    • The name of the action.

    • The current status of the action.

      • In the case of a condition, this would be the conditional gate that was resolved during the execution.

WorkflowTimeline.png

The status of each action is from the perspective of the workflow itself and pertains to whether it was able to execute the action. This does not directly reflect the status of the Nexthink or 3rd Party modules that are being interacted with.

For example, a Service\API Thinklet has made a call and receives a 200 (OK) response from the 3rd party system, but there is an internal error from the 3rd party system in the response. This is not seen as a failure from the perspective of the workflow.

Action details

To further investigate the status and view more information about a particular action, click on the specific action in the timeline. A pop-up appears with more details displayed for further inspection.

Currently, only the Service\API Thinklet actions are clickable for more information.

WorkflowPopUp.png

Service\API Thinklet

When reviewing the details for a Service\API Thinklet action, the following information is available.

  • Start time: The date and time when the system began processing the Thinklet.

  • End time: The date and time when the system finished processing the Thinklet.

  • Response HTTP code: The response received from the 3rd party API.

  • HTTP method: The HTTP method used by the 3rd party API.

  • Resource path: The resource path endpoint on the 3rd party API that the call is sent to.

  • Payload: The body of the call that the system made to the 3rd party API.

    • In the case of large payloads, hover over the payload to display a tooltip with the full dataset.

  • Outputs: If you have configured the outputs for this Thinklet, the collected data in these outputs is displayed here.

image-20240205-152042.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.