Type object
File match *.workflow-rules.json **/workflow-rules/*.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/microsoft-rulesengine-workflow-rules/latest.json
Source https://raw.githubusercontent.com/microsoft/RulesEngine/main/schema/workflow-schema.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

WorkflowName string required
Rules LeafRule | Rule[] required
WorkflowsToInject string[]
GlobalParams ScopedParam[]

Definitions

ScopedParam object
Name string required
Expression string required
Rule object
RuleName string required
Operator enum required
Values: "And" "AndAlso" "Or" "OrElse"
Rules LeafRule | Rule[] required
LocalParams ScopedParam[]
ErrorMessage string
SuccessEvent string
Properties object
Actions
2 nested properties
OnSuccess object
2 nested properties
Name string required
Context object
OnFailure object
2 nested properties
Name string required
Context object
Enabled boolean
Default: true
LeafRule object
RuleName string required
Expression string required
LocalParams ScopedParam[]
RuleExpressionType enum
Values: "LambdaExpression"
ErrorMessage string
SuccessEvent string
Properties object
Actions
2 nested properties
OnSuccess object
2 nested properties
Name string required
Context object
OnFailure object
2 nested properties
Name string required
Context object
Enabled boolean
Default: true
ActionInfo object
Name string required
Context object
RuleActions
OnSuccess object
2 nested properties
Name string required
Context object
OnFailure object
2 nested properties
Name string required
Context object