Profiling

Estimated reading: 5 minutes

Profiling helps analyze workflow execution by displaying its status, duration, activity statistics, errors, and performance insights. Use it to identify performance bottlenecks, troubleshoot failures, and understand execution behavior. It also records retry attempts, ignored exceptions, and paused time.

Note: Profiling data is generated for executions that complete, fault, or stop and produce execution results. Aborted executions do not generate profiling data.

Execution History

The execution history dropdown lists recorded runs of the open workflow, including the workflow name, execution timestamp, and status.

To view a previous run:

1. Open the execution history dropdown.
2. Select the required execution.
3. Review its profiling details.

The Profiling pane displays the selected run’s summary, timeline, slowest activities, insights, activity statistics, and latency report.

Note: Execution history is available only while the workflow remains open in Designer. Closing and reopening the workflow clears the displayed history.

Profiling Toolbar

Option Description
Latency Report Opens the HTML report containing execution metrics, timeline, activity details, insights, and errors.
Open Report Folder Opens the local folder containing profiling reports. Reports are retained for up to 30 days, with a default limit of 50 reports. Older reports may be removed automatically when either limit is reached.
Delete Removes the selected profiling record from execution history without affecting the workflow or project files.

Execution Summary

The execution summary displays the selected run's status, duration, activity statistics, errors, and health score.

Workflow Status

Status Description
Completed The workflow finished successfully.
Faulted The workflow terminated due to an unhandled exception.
Stopped The workflow was manually stopped.
Paused The workflow execution was paused. Use the Continue or Resume option to resume execution from the paused point.

Error Information

Displays the exception message when a workflow fails, helping identify the cause of the failure.

Execution Metrics

Metric Description
Total Duration Total workflow execution time. Startup initialization time is shown separately.
Activity Executions Total number of activity executions.
Average Activity Duration Average execution time across activities.
Slowest Activity Activity with the longest execution duration.
Errors Number of failed activity executions.
Health Score Score based on execution performance, failures, delays, and runtime behavior.

Use these metrics to assess performance and identify areas for improvement.

Timeline and Slowest Activities

Timeline: Displays activity execution durations as horizontal bars in execution order. Use it to identify delays and long-running activities.

Slowest Activities: Ranks activities by execution duration and shows each activity’s runtime and percentage of total workflow execution time. Use it to prioritize performance improvements.

Insights and Log Masking

Insights

Displays observations and recommendations based on execution data, including failures, retries, ignored exceptions, long-running operations, and excessive waits.

Examples:

1. An exception was ignored, allowing the workflow to continue.
2. An activity required multiple retries.
3. Paused time was excluded from execution duration.
4. Fixed waits contributed significantly to execution time.

Log Masking

Profiling follows the Enable Log Masking setting. When enabled, sensitive values in recorded exception messages are masked according to the configured rules, consistent with the execution log.

All Activities

Displays details of every activity executed during the run, including:

1. Activity and workflow names.
2. Activity type and execution count.
3. Total, average, and maximum duration.
4. Percentage of total workflow runtime.
5. Final execution status.
6. Retry attempts and exception details, where applicable.

Search, Filters, and Containers

Control Description
Search Finds activities by activity or workflow name.
Status Dropdown Filters activities by OK, Failed, Ignored, Retried, Paused, or Canceled status, where applicable.
Workflow Dropdown Filters activities by workflow, including parent, invoked, and nested workflows.
Hide Containers Hides container activities, such as scopes and grouping activities, to show only executable activities.

Activity Status

Status Description
OK The activity completed successfully.
Failed The activity failed during execution.
Ignored An exception occurred, but execution continued.
Retried The activity succeeded after one or more retries.
Paused The activity or workflow execution was paused.
Canceled The activity was canceled before completion.

Retry Attempts, Paused Time, and Ignored Exceptions

Retry Attempts

Profiling records each retry attempt with its duration and result. Failed attempts include exception messages. The activity entry displays the retry count, such as Retried ×2. Expand the entry to review individual attempts.

The total activity duration includes all attempts, while the successful attempt’s duration is shown separately.

Use Retry after modifying the relevant variables in the Watcher to rerun the activity with the updated values.

Paused Time

Profiling records time spent paused, including user-initiated pauses and time spent waiting at an exception prompt. The execution summary shows the total paused duration and number of pause events.

Paused time is excluded from activity and workflow execution durations.

Ignored Exceptions

When an exception is ignored, Profiling records its type and message against the affected activity, subject to log masking settings. This helps identify errors that did not stop the workflow but may have affected subsequent activities or results.

Navigating to Activities and Nested Workflows

Navigate to an Activity on the Canvas

1. Open the Profiling tab.
2. Find the required activity entry.
3. Double-click the entry to highlight the activity on the workflow canvas.

Navigation is supported for entries with Ignored, Retried, and Paused statuses.

Nested Workflows and Loops

Profiling associates execution details with the correct activity instance across invoked workflows, child workflows, nested containers, and loop iterations. Retry attempts, pauses, ignored exceptions, and statistics appear under the corresponding workflow and activity.

Latency Report Contents

The HTML latency report includes the execution summary, duration metrics, health score, timeline, slowest activities, insights, activity details, errors, retry attempts, ignored exceptions, and paused time statistics.

Use the report to analyze performance and distinguish execution time from paused time.

Runs Without Interventions

For runs without retries, pauses, or ignored exceptions, Profiling displays the same results as before.

Share this Doc

Profiling

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online