Skip to content

RunActionStep

ClassAssetInventoryAssetInventory.Editor
public sealed class RunActionStep : ActionStep

Invokes another predefined or saved Automator action from the current workflow.

public RunActionStep()

public override List<Tuple<string, ParameterValue>> GetParamOptions(StepParameter param, List<ParameterValue> parameters)

Returns visible predefined and saved actions as selectable nested-action values.

Parameters

Name Type
param Automator.StepParameter
parameters System.Collections.Generic.List{Automator.ParameterValue}

Returns

System.Collections.Generic.List{System.Tuple{System.String,Automator.ParameterValue}}

public override bool GetParamVisibility(StepParameter param, List<ParameterValue> parameters)

Shows the force option only when the selected nested action supports bypassing its recent-execution guard.

Parameters

Name Type
param Automator.StepParameter
parameters System.Collections.Generic.List{Automator.ParameterValue}

Returns

System.Boolean

public override Task Run(List<ParameterValue> parameters)

Invokes the selected predefined or saved Automator action and optionally bypasses its recent-execution guard.

Parameters

Name Type
parameters System.Collections.Generic.List{Automator.ParameterValue}

Returns

System.Threading.Tasks.Task