Edit

IWorkflowOperation interface

Namespace: Microsoft.Azure.Workflows.Sdk

Represents a named workflow operation in the execution graph, providing identity and connections to downstream child actions. Both IWorkflowAction and IWorkflowTrigger inherit this interface.

Usage

var action = WorkflowActions.BuiltIn.Compose(inputs: () => "data").WithName("MyAction");
// Access name
string name = action.Name;
// Children are populated by .Then() calls
action.Then(WorkflowActions.BuiltIn.Response().WithName("Respond"));
var children = action.Children; // contains "Respond"

Properties

Name Description Type Required
Name Gets or sets the unique name of the operation within the workflow definition. string No
Children Gets the child action nodes configured to run after this operation. List<IWorkflowAction> No

Methods

This type implements Then() methods from IChainableNode. See that page for full documentation of all overloads.