View the sequence of activities related to a workflow execution. Know how to access workflow execution specific logs and see log details for each workflow trigger and actions.
Activity Logs is a set of records that contain the sequence of all the activities related to the workflows of your account. The log records include details such as the timestamp, title, execution status as well as an option to view detailed log.
There are two ways in which you can access the activity logs:
Access workflow execution specific logs from canvas
You can view the execution log associated with a specific workflow from the canvas. This eliminates the need to search through the account log listed in the Activity Logs page. To do this, follow the steps given below:
Click on the Workflow Execution History icon displayed at the bottom-right corner of the canvas. When you click on it, a pop-up window will appear where the existing logs associated with the current workflow on canvas will be listed.
Locate the log file of which the details you want to view, and click on the VIEW LOG button.
A new window will appear on your screen where you can see the log details associated with the workflow.
You can download the selected log file in JSON format on your local machine by clicking on the Export Log button. You can also include the input-output details of each action used in the workflow, in the log. To do so, follow the steps given below:
a. Click on the Workflow Settings (gear) icon given on the top-right corner of the canvas.
b. Click on the Execution Settings option from the list of options given on the left-side panel of the window that appears.
c. Toggle-on the switch of the Maintain activity log option. This will include the input-output details of each action of the workflow in the log.
Access all workflow related logs from the Activity Logs page
The Activity Logs page includes the log records for:
Workflows executed manually
Workflow executed via webhook or trigger
Workflow shared with another user
Workflow shared by another user
Let us now understand how to work with the logs:
View detailed log
Each log record includes details such as, timestamp, the title of the workflow, details about the workflow, its status as well as a View Log button that lets you view the detailed logs, as shown below:
When you click on the View Log button, you will see the detailed log as shown below:
You can download the selected log file in JSON format on your local machine, by clicking on the Export Log button.
While accessing select logs from this list seems easy, it may become a bit tedious to search a specific log through a long list of logs. In such a scenario, you can use the Filter Logs feature to get the required log. Let’s look at all the filters that you can apply for logs.
a. Workflow logs associated with a specific time frame: You can view workflow logs for a certain time frame using the time picker given at the right-side of the Activity Logs screen. Here, you can specify the start and end date to fetch the workflow logs created within that duration.
b. Workflow logs associated with specific projects, workflows, status, and execution type: You can filter workflow logs based on project names, workflow names, execution status (Success/Pending/Failed/Running/Timeout/Stopped), and execution method (Webhook, Manual, Trigger). To do so, simply select the relevant project/workflow/status/execution type and click Apply. This will fetch the workflow logs associated with the specified filter(s).