Edit

WorkflowActionBase class

Namespace: Microsoft.Azure.Workflows.Sdk

WorkflowActionBase is the abstract base implementation for IWorkflowAction nodes. It provides the fluent chaining behavior used by concrete workflow actions, plus automatic action naming, child action tracking, and run-after configuration storage.

Usage

// WorkflowActionBase is abstract; use concrete actions via WorkflowActions.BuiltIn
var action = WorkflowActions.BuiltIn.Compose(inputs: () => "Hello").WithName("Greet");

// Access inherited properties
string name = action.Name; // "Greet"
var children = action.Children; // populated by .Then() calls

Properties

Name Description Type Required
Name Gets or sets the unique action name used in the generated workflow definition. string No
Children Gets the child actions that run after this action. List<IWorkflowAction> No
RunAfterConfig Gets the mapping of predecessor action names to required completion statuses for this action. Dictionary<string, FlowStatus[]> No

Methods

Then

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