nitram509 / lib-bpmn-engine

A BPMN engine, meant to be embedded in Go applications with minimal hurdles, and a pleasant developer experience using it. This approach can increase transparency for non-developers.
https://nitram509.github.io/lib-bpmn-engine/
MIT License
282 stars 73 forks source link

add custom function to expressions. #217

Open rowdyroad opened 4 months ago

rowdyroad commented 4 months ago

Motivation/Abstract

Need to have more functionality (with user-defined functions) in expressions, when expr package supports it.

Description/Comments

Just pass list of user-defined functions to expr.Compile. Note: functions list is global

Checklist

Depending on your PR, please ensure the overall consistency/integrity of the project remains. Please tick just one check item per section below

Tests

Code examples

Documentation