A very simple Javascript Workflow for use by FW-CLI, Mod-Workflow, and Mod-Camunda in FOLIO.
All this Workflow does is print the message Quick Test Complete. to the system log of the chosen Workflow-Engine, such as Mod-Camunda.
Use the drop this project in the fw-registry sub-directory of the fw-cli project directory.
Follow the appropriate install instructions from the fw-cli project to install the fw program into the environment in which this is going to be built and run from.
Build this Workflow from the fw-cli project directory:
fw build quick-js-testIf everything worked as expected, then from the same directory activate the Workflow:
fw activate quick-js-testOnce the Workflow is successfully activated, the Workflow can be run at any time from the fw-cli project directory:
fw run quick-js-test