Action Types

Overview

Action Types are special nodes you can add to your Test Orchestration workflows that perform specific functions beyond standard test script execution. These actions help you control workflow logic, manage timing, send communications, and handle data operations.


Available Action Types

🔄 Control Flow Actions

Actions that control how your workflow executes:

Pause workflow execution for a specified duration.

  • Add delays between steps

  • Allow time for data synchronization

  • Create realistic user think-time

📧 Communication Actions

Send notifications and communications:

Action
Purpose
Use When

Send Email

Email notifications to stakeholders

Reporting results or alerts

Slack

Send messages to Slack channels

Team notifications

Teams

Microsoft Teams notifications

Enterprise communication

📊 Data Actions

Handle and manage data:

Action
Purpose
Use When

Data Hub

Store and retrieve test data

Sharing data between workflows

Extract Data

Extract values from test results

Using output in next steps

Comment

Add documentation to workflows

Recording notes and context


Wait Action

Purpose

Pause workflow execution for a specified duration. Useful for:

  • Allowing backend processing time

  • Waiting for email delivery

  • Database synchronization

  • User think-time simulation

Configuration

Examples

Wait for Email Delivery

Database Synchronization

Best Practices

  • ✅ Use minimum necessary wait time

  • ✅ Document why each wait is needed

  • ✅ Consider using polling instead of fixed waits when possible

  • ❌ Avoid excessive wait times that slow down workflows

  • ❌ Don't use for error handling (use Retry instead)


Retry Action

Purpose

Automatically retry failed steps with exponential backoff. Handles:

  • Transient network failures

  • Temporary service unavailability

  • Race conditions

  • Flaky tests

Configuration

Retry Strategies

Linear Backoff

Exponential Backoff

Fixed Delay

Examples

API Retry with Exponential Backoff

Database Query Retry

Best Practices

  • ✅ Use appropriate backoff strategy for your use case

  • ✅ Set reasonable max attempts (3-5 usually sufficient)

  • ✅ Consider total wait time (attempts × delays)

  • ✅ Log retry attempts for debugging

  • ❌ Don't use indefinite retries

  • ❌ Avoid retrying permanent errors (404, 401)


Stop Action

Purpose

Conditionally terminate workflow execution. Use for:

  • Stopping on critical failures

  • Skipping remaining steps when not needed

  • Validation gates

  • Conditional workflow termination

Configuration

Conditional Stop

Stop based on:

  • Previous step results

  • Data values

  • Environment variables

  • Custom expressions

Examples

Stop on Missing Data

Conditional Progression

Best Practices

  • ✅ Use clear messages explaining why workflow stopped

  • ✅ Document conditions that trigger stops

  • ✅ Consider impact on reporting

  • ❌ Don't use as error handling (use proper error handling instead)

  • ❌ Avoid unexpected workflow terminations


Send Email Action

Purpose

Send email notifications from your workflows. Use for:

  • Test completion reports

  • Failure alerts

  • Test result summaries

  • Stakeholder notifications

Configuration

Email Template Variables

Available variables in email:

Example Email Configuration


Slack / Teams Actions

Purpose

Send real-time notifications to Slack or Microsoft Teams. Use for:

  • Immediate failure alerts

  • Workflow completion notifications

  • Team updates

  • Status reports

Configuration

Message Templates


Data Hub Action

Purpose

Centralized data management across workflows. Use for:

  • Storing test results

  • Sharing data between workflows

  • Building data repositories

  • Historical data tracking

Data Hub Operations

Operation
Purpose

Store

Save data for future use

Retrieve

Get previously stored data

Update

Modify stored data

Delete

Remove data entries

Query

Search stored data

Example: Data Hub Workflow


Comment Action

Purpose

Add documentation and notes to workflows. Use for:

  • Explaining complex sections

  • Recording assumptions

  • Documenting known issues

  • Adding team notes

Comment Format

Best Practices for Comments

  • ✅ Explain "why" not "what"

  • ✅ Reference related tickets/issues

  • ✅ Document known limitations

  • ✅ Add dates and authors when relevant

  • ❌ Don't leave outdated comments

  • ❌ Avoid over-commenting obvious steps


Combining Actions in Workflows

Example 1: Robust API Test

Example 2: Complex Workflow


Best Practices

✅ Do

  • Use actions to make workflows more robust

  • Document why each action is needed

  • Test workflows with actions enabled

  • Monitor action performance

  • Use appropriate timeouts and retry counts

  • Combine actions strategically

❌ Don't

  • Overuse wait actions (impacts execution time)

  • Use retry for permanent errors

  • Create overly complex action chains

  • Forget to test before scheduling

  • Ignore notification failures

  • Mix too many action types


Troubleshooting

Issue: Workflow hangs on Wait action

Solution:

  • Check if wait duration is too long

  • Verify system resources

  • Review workflow logs

Issue: Retries not helping

Solution:

  • Verify the error is transient

  • Adjust backoff strategy

  • Increase max attempts if needed

  • Consider if error is permanent

Issue: Email/Slack not sending

Solution:

  • Verify integration is configured

  • Check recipient addresses

  • Review permission settings

  • Test notification settings



Next Steps

Last updated