Request object/class for creating a rule on a work item type.

interface CreateProcessRuleRequest {
    actions?: RuleAction[];
    conditions?: RuleCondition[];
    isDisabled?: boolean;
    name?: string;
}

Hierarchy (View Summary)

Properties

actions?: RuleAction[]

List of actions to take when the rule is triggered.

conditions?: RuleCondition[]

List of conditions when the rule should be triggered.

isDisabled?: boolean

Indicates if the rule is disabled.

name?: string

Name for the rule.