-
Notifications
You must be signed in to change notification settings - Fork 49
decisiontable
- DecisionTable
+ new DecisionTable(__namedParameters
: object): DecisionTable
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:30
Parameters:
▪ __namedParameters: object
Name | Type |
---|---|
actionVars |
any |
conditionVars |
any |
hitPolicy |
any |
name |
any |
rules |
any |
Returns: DecisionTable
• actionVars: OutputClause[]
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:28
• conditionVars: InputClause[]
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:27
• hitPolicy: HitPolicy
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:30
• name: any
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:26
• rules: Rule[]
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:29
▸ asJson(): string
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:111
Returns: string
▸ compile(): object
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:62
Returns: object
- rules: undefined[] = []
▸ evaluate(data
: any): Promise‹any›
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:69
Parameters:
Name | Type |
---|---|
data |
any |
Returns: Promise‹any›
▸ save(fileName
: any): void
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:99
Parameters:
Name | Type |
---|---|
fileName |
any |
Returns: void
▸ execute(dtDefinition
: any, data
: any): Promise‹object›
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:52
Execute a DT on the fly, passing multiple records used for WebAPI
Parameters:
Name | Type | Description |
---|---|---|
dtDefinition |
any | - |
data |
any |
Returns: Promise‹object›
▸ load(fileName
: any): DecisionTable‹›
Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:103
Parameters:
Name | Type |
---|---|
fileName |
any |
Returns: DecisionTable‹›