Skip to main content

process-automation-component


1.1.1 (2024-04-26)

Changed

  • All expanders are now conditional on the presence of processAutomation component.
    • Migrated all expanders to use tags instead of condition.
    • Defined tag #workflow.processAutomation for any artifact dependent on processAutomation

1.1.0 (2024-04-23)

Added

  • Possibility to define WorkSchedule on a queuedProcessor as an alternative to TimeWindow.
    • Specify a startAt and until time.
    • Optionally specify a weekday.
    • Optionally specify a timezone.

1.0.1 (2024-04-19)

Changed

  • Integrated changes from v0.4.2.
  • Replaced jackson library definitions to dependency on nsx-jackson-support.

1.0.0 (2024-04-08)

Changed

  • Added state-machine to WorkerNode for synchronised recovery in multi-node systems.
    • The mechanism elects a 'leader' responsible for recovery and any scheduled triggers.
  • Optimized ApplicationPersistent queue to not commit 0 jobs when the local cache is empty.

Removed

  • Removed unused {Workflow}Task artifact expander.

0.4.2 (2024-04-18)

Added

  • Added @anchor:start-processing-condition anchors to change startup condition on {Transition}Schedule and {Workflow}EngineBean

0.4.1 (2024-04-02)

Fixed

  • Fixed wrong import when defining blocking ByDataCommand trigger.
  • Fixed name field not available on the ByDataCommand trigger metamodel.

0.4.0 (2024-03-29)

Added

  • Added new ByDataCommand Trigger, which will integrate with a dataCommand to trigger a set of Transitions.
    • By default, transition will execute asynchronously (scheduling).
    • DataCommand option workflow.trigger.blockingMs to indicate synchronous (blocking) execution.
    • DataCommand option workflow.trigger.button to add a button to the knockout UI.
  • Added option transition.noSelfLoop on the OnTransition trigger, to avoid self-loops when the end-state is equal. to the begin-state of a transition.

0.3.2 (2024-02-20)

Added

  • Added error handling for calls to scheduleTransition.
  • Added option workflow.recovery.disable to opt-out of workflow recovery.

0.3.1 (2024-02-14)

Fixed

  • Fixed incorrect import in EngineBean when targetElement packageName is different.

0.3.0 (2024-02-13)

Added

  • Added option executeTask.implementation to Transition to configure the task implementation used.
  • Added option executeTask.context.user to Transition (and Workflow/Component cascade) to configure the UserContext for the task execution.

Updated

  • Update prime-core to version 2024.0.x
  • Update Expanders to version 6.5.x

0.2.5 (2024-01-26)

Changed

  • Changed batchSize of 0 (default) to be interpreted as unlimited.

0.2.4 (2024-01-22)

Fixed

  • Fixed startup sequence of ApplicationPersistence queues ability to interfere with recovery.

0.2.3 (2024-01-17)

Added

  • Added support for flowEngine.stateTask.maxConcurrentTasks in FlowEngine trigger.

Changed

  • Changed FlowEngine so no two runs can happen simultaneously. Instead a warning is logged.

0.2.2 (2024-01-03)

Fixed

  • Fixed TaskJobs being committed before fetch was persisted which caused runtime errors.

0.2.1 (2023-11-27)

Fixed

  • Fixed import issues when rollback recovery is configured.

0.2.0 (2023-11-23)

Added

  • Added button to pause and resume the WorkerNode from the knockout UI.
  • Added WorkerNodeService element to improve observability and state management.
    • Added button to recover a WorkerNodeService when it reached a failed state.
  • Added option processAutomation.tracelog.exclude to exclude a workflow/transition from trace logging.
  • Introduced TransitionContext for a more obvious interface to the {Workflow}Scheduler.
  • Added cleanup of 'Committed' TaskJobQueue entries. Default is configured to run once every 60 minutes.

Changed

  • Package name and groupId changed from net.democritus.processAutomation to net.democritus.processautomation in accordance with java convention.
    • Impact should be low, as these are mostly used internally.
  • Expanders now mostly use @imports for their import handling.
  • Event triggers are now scheduled within the transaction, QueueDrivers must ensure the job can only be pulled after commit.
  • Split the process-automation-core module into model and core where model only contains the component model.
  • Changed transition error logging to make its origin obvious.
  • Removed uses of java 9+ api from EngineBean to make it java 8 compatible.

0.1.4 (2023-10-17)

Changed

  • Marked process automation with isBaseComponent
  • Removed dependency on validation component

0.1.3 (2023-09-28)

Fixed

  • Fixed compile error when no batchSize was defined for a FlowEngine.

Changed

  • Updated workflow-metamodel to version 1.6.2

0.1.2 (2023-09-22)

Fixed

  • Fixed build issues when a component did not depend on processAutomation.

0.1.1 (2023-09-21)

Fixed

  • TransitionSorter possibly not terminating causing expansion to be stuck.

0.1.0 (2023-09-19)

  • Preview release