Class AutomationCondition
- Namespace
- CMS.Automation
- Assembly
- CMS.Automation.dll
Base class for automation conditions without configurable properties. Extend this class to define a custom automation condition step that branches the process based on the returned value.
public abstract class AutomationCondition : IAutomationCondition
- Inheritance
-
objectAutomationCondition
- Implements
- Extension Methods
Constructors
AutomationCondition()
protected AutomationCondition()
Methods
Evaluate(AutomationProcessContext, CancellationToken)
Evaluates the automation condition step and returns the branch the automation process should follow.
public abstract Task<bool> Evaluate(AutomationProcessContext context, CancellationToken cancellationToken)
Parameters
contextAutomationProcessContextContext providing runtime data for the automation condition step evaluation.
cancellationTokenCancellationTokenCancellation token.