businessRuleCreate
Create a new business rule with specified configuration and logic.
Establishes a new business rule with the provided name, type, and shop context. The created rule will have a basic structure that can be extended with decision tables, expressions, and workflow logic.
Possible errors:
- BUSINESS_RULE_UNKNOWN_ERROR: Unexpected error occurred during rule creation
- FORBIDDEN: Insufficient permissions to create business rules
AUTH: Role=[configuration.OWNER]
businessRuleCreate(
input: BusinessRuleCreateInput!
): BusinessRule!
Arguments
businessRuleCreate.input
● BusinessRuleCreateInput!
non-null input
Business rule creation data including name, type, and shop context for the new rule
Type
BusinessRule
object
Complete business rule workflow represented as a directed graph structure.
Each business rule consists of interconnected nodes (input, decision tables, output) connected by edges that define the execution flow. Decision tables contain multiple rows where each row represents a specific rule condition and corresponding action. The graph structure enables complex business logic modeling with branching, parallel processing, and conditional execution paths.