Skip to content

decisiontable

ralphhanna edited this page Dec 18, 2023 · 1 revision

bpmn-serverDecisionTable

Class: DecisionTable

Hierarchy

  • DecisionTable

Index

Constructors

Properties

Methods

Constructors

constructor

+ 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

Properties

actionVars

actionVars: OutputClause[]

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:28


conditionVars

conditionVars: InputClause[]

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:27


hitPolicy

hitPolicy: HitPolicy

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:30


name

name: any

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:26


rules

rules: Rule[]

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:29

Methods

asJson

asJson(): string

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:111

Returns: string


compile

compile(): object

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:62

Returns: object

  • rules: undefined[] = []

evaluate

evaluate(data: any): Promise‹any›

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:69

Parameters:

Name Type
data any

Returns: Promise‹any›


save

save(fileName: any): void

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:99

Parameters:

Name Type
fileName any

Returns: void


Static execute

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›


Static load

load(fileName: any): DecisionTable‹›

Defined in bpmnServer/node_modules/dmn-engine/DecisionTable.ts:103

Parameters:

Name Type
fileName any

Returns: DecisionTable‹›

Clone this wiki locally