bpmn-expression-language
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

bpmn-expression-language

This library exports expression language that is used by from.js

Installation

npm install bpmn-expression-language

Usage

npm i bpmn-expression-language

import {
  ConditionChecker
} from 'bpmn-expression-language'

const conditionChecker = new ConditionChecker(
  null,
  null
);
const result = conditionChecker.check('=list contains(["Active","Close","Dormant"], application_status.value)', {
  "PEP_check": {
      "type": "Boolean",
      "value": true,
      "valueInfo": {}
  },
  "application_status": {
      "type": "String",
      "value": "Dormant",
      "valueInfo": {}
  },
});
console.log(result) // result would be true as Dormant is there in list

Dependencies (4)

Dev Dependencies (41)

Package Sidebar

Install

npm i bpmn-expression-language

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

132 kB

Total Files

31

Last publish

Collaborators

  • waqasjamil