Understanding Skill Execution Details

Execution Scope

When creating or editing a skill, you must define its execution scope to control where the skill can be invoked.

Scope Options

ScopeDescription
AOP executionSkill can only be used within AOPs as part of a structured business process
Master orchestrator & AOP executionSkill can be invoked directly by the Master Orchestrator for employee queries, and also used within AOPs

AOP Execution Only

Use this scope when the skill:

  • Is part of a multi-step business process
  • Requires specific workflow context to function correctly
  • Performs sensitive operations that need controlled execution

Example: A skill that updates employee records should only run within an approved HR process, not via ad-hoc queries.


Master Orchestrator & AOP Execution

Use this scope when the skill:

  • Handles general employee queries
  • Doesn't require workflow context
  • Is safe for conversational invocation
  • Can also be reused within AOPs

Example: A skill that looks up company holidays can answer employee questions directly and also be used within leave management AOPs.


Quick Decision Guide

If the skill...Choose
Handles standalone queries from employeesMaster orchestrator & AOP
Requires approval workflows or specific contextAOP execution only
Performs sensitive data operationsAOP execution only
Is a general utility (search, lookup, notify)AOP execution only

How to Configure

  1. Navigate to AI ColleaguesSkills
  2. Click Create skill or edit an existing skill
  3. Complete Step 1: Skill details
  4. In Step 2: Execution details select Execution scope ,where the skill can execute
  5. Click Create to save

Execution control

When creating or editing a skill, you can define its execution control to determine whether the skill must run fresh every time or can be optimised by the system.

Control Options

SettingDescription
Always execute (Enabled)Skill runs fresh on every invocation, regardless of prior results
Always execute (Disabled)System decides whether to rerun the skill or reuse results from earlier in the conversation

Always Execute — Enabled

Use this setting when the skill:

  • Returns real-time or frequently changing data
  • Performs transactional actions (e.g., approvals, submissions, updates)
  • Manages approval queues or live statuses
  • Must reflect the latest state on every call

Example: A skill that checks the current approval status of a request should always execute fresh, since the status may change between invocations within the same conversation.


Always Execute — Disabled

Use this setting when the skill:

  • Returns static or slowly-changing data
  • Performs read-only lookups (e.g., policy info, org charts, configurations)
  • Doesn't need to re-fetch data if already retrieved in the same conversation

Example: A skill that retrieves the company's leave policy doesn't need to re-run if the user asks a follow-up question about the same policy — the AI can reuse the earlier result.


Quick Decision Guide

If the skill...Choose
Fetches real-time data (live statuses, balances)Always execute: Enabled
Performs write/update/transactional actionsAlways execute: Enabled
Manages approval queuesAlways execute: Enabled
Looks up policies, org info, or config dataAlways execute: Disabled
Returns data that rarely changes mid-conversationAlways execute: Disabled

How to Configure

  1. Navigate to AI Colleagues → Skills
  2. Click Create skill or edit an existing skill
  3. Complete Step 1: Skill details
  4. In Step 2: Execution details toggle the Always execute switch under Execution control
  5. Click Create to save

Wait for completion

When creating or editing a skill, you can define its wait for completion behavior to control whether the execution should pause and wait for the skill to finish before moving to the next step.

Setting Options

SettingDescription
Wait for skill to complete (Enabled)Execution pauses and waits until this skill completes before moving to the next step
Wait for skill to complete (Disabled)Execution does not wait for this skill to complete and moves to the next step immediately

Wait for Skill to Complete — Enabled

Use this setting when the skill:

  • Performs approval tasks or multi-step operations where the result is needed before proceeding
  • Returns output that downstream steps depend on
  • Involves long-running workflows where completion confirmation is critical
  • Interacts with external systems that require a response before the process can continue

Example: A skill that triggers a manager approval request should wait for completion, since the next step in the AOP may depend on whether the request was approved or rejected.


Wait for Skill to Complete — Disabled

Use this setting when the skill:

  • Sends notifications, logs actions, or performs fire-and-forget operations
  • Returns a result instantly that will still be available to subsequent steps
  • Handles tasks where the execution flow doesn't depend on the skill's outcome

Note: If the skill returns a result instantly, the output will still be available for subsequent steps. For skills that take longer or involve multiple steps, the result will not be carried forward when this setting is disabled.

Example: A skill that sends a Slack notification about a completed onboarding task doesn't need to block the rest of the AOP — the process can continue immediately.


Quick Decision Guide

If the skill...Choose
Returns output needed by the next stepWait for completion: Enabled
Performs approval tasks or multi-step operationsWait for completion: Enabled
Requires a callback or response from an external systemWait for completion: Enabled
Sends notifications or logs eventsWait for completion: Disabled
Performs actions where the result isn't needed downstreamWait for completion: Disabled

How to Configure

  1. Navigate to AI Colleagues → Skills
  2. Click Create skill or edit an existing skill
  3. Complete Step 1: Skill details
  4. In Step 2: Execution details, toggle the Wait for completion switch
  5. Click Create to save

Note: This setting will appear only when you choose a workflow that runs asynchronously.


Wait for Completion: Workflow Execution Scenarios

The Wait for completion toggle appears in a skill's Execution Details in AIC Studio when the skill invokes an async workflow. It controls whether the AI Colleague pauses at this step and waits for the workflow to complete before continuing.

This article covers the two types of async workflows and how the toggle affects behaviour in each.


Async Blocking Workflow

A workflow is classified as blocking when it contains one or more of the following nodes: Input, Approval, Delay, or Async Callback. These indicate human-in-the-loop steps or time-based waits, meaning the workflow is expected to run over an extended and unpredictable duration.

Wait for Completion — ON

The AI Colleague submits the workflow and communicates to the user:

"We have submitted your request. We'll get back to you once we have an update."


The AIC pauses at this step. When the workflow reaches its End Node and sends a callback, the AIC resumes — with the workflow output available for subsequent AOP steps.

Use when the AIC needs the workflow result to continue. Example:

  • Confirming an approval before issuing a final response to the employee.

Enable custom callback must be ON on the workflow's End Node, otherwise the AIC will wait indefinitely.

Wait for Completion — OFF

The AI Colleague submits the workflow and immediately continues to the next AOP step. The workflow runs in the background. Its result is not available to downstream steps.

Use when the AIC does not need the workflow outcome to continue. Example:

  • Triggering an off-boarding workflow for an exiting employee — HR is notified, but the conversation ends right away

Async Non-Blocking Workflow

A workflow is classified as non-blocking when it contains none of the above nodes — it runs entirely through automated steps and is expected to complete within a short window (up to 2 minutes).

Wait for Completion — ON

The AI Colleague shows the user:

"Running Tool: [Skill Name]"


The AIC waits for the workflow callback, up to a 2-minute timeout. If the callback arrives in time, the AIC resumes with the result available downstream. If the timeout is exceeded, the AIC continues without a result.

Use when the AIC needs the output of a fast automated workflow. Example:

  • Fetching live leave balance from Workday.

Enable custom callback must be ON on the workflow's End Node, otherwise the AIC will time out after 2 minutes without a result.

Wait for Completion — OFF

The AI Colleague invokes the workflow and immediately continues. The workflow runs and ends in the background. No result is passed downstream.

Use when no result is needed. Example:

  • Updating a record in a connected system as a side effect of the conversation

Summary

Workflow TypeWait for CompletionAIC BehaviourResult Available Downstream
Async — BlockingONSubmits and waits; user is informed of submissionYes, when callback received
Async — BlockingOFFSubmits and continues immediatelyNo
Async — Non-BlockingONShows "Running Tool"; waits up to 2 minutesYes, if callback received within timeout
Async — Non-BlockingOFFFires and continues immediatelyNo

Related Articles