CHANGELOG

Contents

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.

Release 2.1.5 — 2024-03

  • Add support to ad-hoc subprocesses
  • Removed reference to UserService from back-end, kept in front-end only
  • Fixed bug with subprocess not ending correctly

    Loop Changes:

  • Change itemKey to contain entire dataPath
  • Change Data Structure for loop from Array to Object
  • Fixed bug with loop info not loaded on restore

Release 2.1.0 — 2024-03

API model:

  • Add: get(query:any ,user: ISecureUser): Promise<object[]> returns full model data, including documentation
  • Change: getList(..) returns only names

    API engine

  • Add: restart(itemQuery, data:any,user:ISecureUser, options?:IEngineOptions) :Promise<IExecution>
    restarting an already completed instance at a particular node

Release 2.0.1 — 2024-02

  • Moved webApp as a separate Repo
  • Changed install procedure
  • Compile src into dist , repos only include src (TS)
  • Re-Write docs
  • Added Docusaruas
  • Configuration.ts: – Added UserService
  • AppServices.ts is the location for all services
  • Logger: added info to summarize actions
  • Support TaskListener
  • Input/Output Variables now supports multiple types
  • Timer: now supports timeDate type and repeat
  • Process: supports script events
  • ServiceName can now include child objects
  • UserService: added validate Event

Release 1.5.0 — 2023-11

  • New API
  • Added User Authentication for WebApp
  • Added User Management; Signup and Admin
  • Added Assign function, users can Assign other users to the task
  • Improved Users Interface to support above changes

Release 1.4.1 — 2023-10-2

  • Added Instance Locking, supporting multiple nodeJS servers running against same MongoDB
  • Support lanes as role see userAssignment
  • Improve documentation

Release 1.4.0 — 2023-09-20

  • Removes ACL/IAM and relies on the front-end to provide user authentication
  • Uses UserTask assignment fields to capture assignment information
    — Add assignment fields to Item class
    — see userAssignment for details

Release 1.3.22 — 2023-05-18

-Fixed Issue with DataObject interface
-Added item.vars to storage

Release 1.3.21 — 2023-05-16

-Fixed Issue Exclusive Gateway Convergence #87

Release 1.3.18 — 2023-05-07

Release 1.3.15 — 2022-11-20

  • Added to .env
    definitions_path
  • Timer now supports Repeat format R3PT15M
  • Fixed bug with gateway converge
  • Added the following to API
    • definitions/import
    • definitions/delete
    • definitions/rename

Release 1.3.10 — 2022-09-20

  • SendTask is working same as Service Task – Issue #58
  • Support Repeat Timers using format R3/PT3S
  • Improved support for Error Event
    need to support errorId
  • Added Escalation Event Type
  • Added Transaction support
  • Cancel Transaction
  • Compensate Transaction
  • Added Color scheme for Activity Status

Release 1.3.9 – 2022-07-09

  • SendTask now behaves same as ServiceTask
  • BoundaryEvents
    • Handle interrupting and non-interrupting
    • Interrupting cancel the parent task and its flow

Release 1.3.8 – 2022-07-09

  • Fix errors in throwSignal/throwMessage in bpmn-client
  • Fix errors in throwSignal/throwMessage in api #52
  • Fix bug showing instance ‘end’ while still running when in gateway
  • Fix issue with editing element name in property panel #54
  • Include tmp folder in install #56
  • Minor changes to UI – preserve the last process

Release 1.3.4 – 2022-01-09

Fix bugs with Throwing Messages and Signals

Release 1.3.3 – 2022-31-08

Issue #41 Fixed – configuring service task in BPMN-Properties-Panel

No need to edit the bpmn file.

Issue #42 Fixed – running engines after processes end

Now engines are removed as they complete

Issue #43 Fixed – Discrepancy with findItems

Now FindItems returns all the items within the instance that meet the condition

Release 1.3.2 – 2022-30-08

Fixed import process error due to old version of connect-busboy

Release 1.3.1 – 2022-30-08

Fixed compile error with updated tsc

Release 1.3.0 – 2022-21-08

This is a major release, requires an upgrade and changes to existing code base.

Support bpmnjs properties-panel

Provides a UI to edit bpmn definition, therefore, no longer a need to edit the bpmn file

In order to provide this, changes to bpmn specification to be more compliant as follows:

Event Script definition

  • the only events are: start,end
  • old format:

    <bpmn:startEvent id="StartEvent_1ohx91b">
      <bpmn:extensionElements>
        <camunda:script event="start"><![CDATA[
        console.log("This is the start event");
          this.applyInput({records:[1,2,3]});
          console.log(this.data);
          console.log("This is the start event");]]></camunda:script>
      </bpmn:extensionElements>
      <bpmn:outgoing>Flow_18xinq3</bpmn:outgoing>
    </bpmn:startEvent>
  • New format:
      <bpmn2:extensionElements>
        <camunda:executionListener event="start">
          <camunda:script scriptFormat="JavaScript">
            script1
          </camunda:script>
        </camunda:executionListener>
        <camunda:executionListener event="end">
          <camunda:script scriptFormat="JavaScript">
            script2
            </camunda:script>
        </camunda:executionListener>
      </bpmn2:extensionElements>

Input/Output Definition

Handling Input and Output has changed please this for details

Conditional Flow

  • Old Format:
    <bpmn:conditionExpression xsi:type="bpmn:tExpression">
        <![CDATA[(this.needsCleaning=="Yes")]]>
    </bpmn:conditionExpression>
  • New Format:
    <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression" language="JavaScript">
        (item.data.needsCleaning=="Yes")
    </bpmn:conditionExpression>

Release 1.2.5 – 2022-16-08

Added API
engine/status

Release 1.2.4 – 2022-08-08

Added:

  • Access Control Rules
  • Client API can specify the userId
  • Improved documentation

Release 1.2.0 – 2022-08-08

Added WebAPI calls
Added Remote access through bpmn-client package
improved documentation

Release 1.1.4 – 2020-07-21

Added

  • docsexamples.md add lot more examples
  • engine.start(…,options)
  • AppDelegate now has serviceProvider class as a separate object

Changed

  • signature to service calls
    • old format: service(item);
    • new format: return=service(input,executionContext);

Removed

  • server.cron.checktimers();