Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: Microsoft.Azure.Workflows.Sdk
Represents an action step within a workflow that executes after a trigger fires or after preceding actions complete. Actions expose run-after metadata through RunAfterConfig and can be referenced through the typed interfaces documented in Typed Workflow Action Interfaces Definition.
Usage
var trigger = WorkflowTriggers.BuiltIn.CreateHttpTrigger();
var firstAction = WorkflowActions.BuiltIn.Compose(inputs: () => "Hello").WithName("Greet");
var secondAction = WorkflowActions.BuiltIn.Compose(inputs: () => "Logged").WithName("Audit");
trigger
.Then(firstAction)
.Then(secondAction);
// secondAction.RunAfterConfig contains the predecessor mapping for "Greet"
Properties
| Name | Description | Type | Required |
|---|---|---|---|
| RunAfterConfig | Gets the mapping of predecessor action names to the required completion statuses for this action. | Dictionary<string, FlowStatus[]> | No |
Methods
This type implements Then() methods from IChainableNode. See that page for full documentation of all overloads.
Related Content
- AgentToolContext Class Definition
- IChainableNode Interface Definition
- IVariableWorkflowAction Interface Definition
- IWorkflowOperation Interface Definition
- IWorkflowProvider Interface Definition
- IWorkflowTrigger Interface Definition
- OperationChain Class Definition
- Typed Workflow Action Interfaces Definition
- Typed Workflow Trigger Interfaces Definition
- WorkflowActionBase Class Definition
- WorkflowActions Class Definition
- WorkflowBuiltInActions Class Definition
- WorkflowBuiltInTriggers Class Definition
- WorkflowContext Class Definition
- WorkflowControlActions Class Definition
- WorkflowFactory Class Definition
- WorkflowManagedActions Class Definition
- WorkflowManagedTriggers Class Definition
- WorkflowProviderExtensions Class Definition
- WorkflowTriggerBase Class Definition
- WorkflowTriggers Class Definition
- WorkflowVariableActions Class Definition