Skip to main content

BusinessRule

Represents a BusinessRule Graph or Set, each business rule set consist of at least one inputNode, decisionTableNode and outputNode witn edges between them. A decisionTable can have mutiple rows, each row representing a single rule that gets executed.

type BusinessRule {
id: ID!
type: BusinessRuleType!
name: [LocalizedString!]!
edges: [BusinessRuleEdge!]!
nodes: [IBusinessRuleNode!]!
createdAt: DateTime!
updatedAt: DateTime!
jdm: JSONObject!
}

Fields

BusinessRule.id ● ID! non-null scalar

BusinessRule identifier

BusinessRule.type ● BusinessRuleType! non-null enum

BusinessRule.name ● [LocalizedString!]! non-null object

BusinessRule.edges ● [BusinessRuleEdge!]! non-null object

BusinessRule.nodes ● [IBusinessRuleNode!]! non-null interface

BusinessRule.createdAt ● DateTime! non-null scalar

BusinessRule date created

BusinessRule.updatedAt ● DateTime! non-null scalar

BusinessRule List date modified

BusinessRule.jdm ● JSONObject! non-null scalar

Returned By

businessRule query ● businessRuleCreate mutation ● businessRuleUpdate mutation ● incentiveRule query ● incentiveRuleAddOrderCondition mutation ● incentiveRuleCreate mutation ● incentiveRuleRemoveOrderCondition mutation ● incentiveRuleSetAction mutation ● incentiveRuleSetOrderItemConditions mutation

Member Of

BusinessRuleResponse object