‘Activity Logs’ is a set of records that contains the sequence of all the activity 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 logs:
1. Access workflow execution specific logs via canvas
2. Access all workflow related logs from the 'Activity Logs' page
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:
Step 1: Click on the ‘Clock’ icon given on the right-hand side bottom of the canvas. When you click on it, a pop-up window will appear where the existing log associated with the current workflow on canvas will be listed.
Step 2: Locate the log file of which the details you wish 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.
Step 3: 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:
Step 1: Click on the ‘Workflow Settings’ (gear) icon given on the top-right hand side of the canvas.
Step 2: Click on the ‘Execution Settings’ option from the list of options given on the left-hand side of the window that appears.
Step 3: 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
• Workflows executed via webhook or trigger
• Workflows shared with another user
• Workflows shared by another user
• Plan and subscriptions for your Built.io Flow account.
Let us now understand how to work with the logs:
1. View detailed log
Each log record includes details such as, timestamp, title of the workflow, details about the workflow, its status as well as a 'VIEW LOGS' 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.
2. Apply filters
While accessing select logs from this list seems easy, it may get a bit daunting if the list spans a number of pages. 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.
2.1 Flows from Library
Use this to filter log of workflows that were ‘imported by you’ from library and/or your workflow that were imported by others from library.
2.2 Workflow History
This filter lets you filter log by workflow names, execution status (Success/Pending/Failed/Running/Timeout/Stopped), and execution method (Webhook, Manual, Trigger).
2.3 Account Status
This filter fetches the plan and subscription details of your Built.io Flow account.
Use this filter to view log of workflows that were shared by you or the ones that were shared with you.
3. Sort log entries
The entries of the log can be sort in ascending or descending order by date and/or title.
4. Auto refresh logs
By default, ‘Auto refresh logs’ is enabled. This means that the list of log entries will be refreshed every minute. You can disable auto-refresh by switching off the ‘Auto refresh logs’ toggle button located on the top right-hand side corner of the page.
If you have applied filters to access specific log entries, it is recommended that you disable ‘auto refresh logs’, as auto refresh may reset all the applied filters.