Loading Order

Model source files are loaded in the following order:

  1. Internal libraries, when summoned by //@provengo summon

  2. All .js files in the lib folder

  3. All .js files in the data folder

  4. Files in the spec folder:

    1. .bpmn files in spec/bpmn

    2. .combi files in spec/combi

    3. .js files in spec/js

  5. When using commands other than run: All .js files in meta-spec

In each folder, files are loaded in alphabetic order.

In order to conveniently disable and enable source files (e.g. to switch between automation types), create a sub-directory in spec/, and disable and enable file by moving them in and out of it. A good name for it might be spec/disabled.

An even easier way of enabling and disabling model components is using the source file checkboxes in Provengo Studio VSCode extension.

Provengo IDE screenshot with disabled and enabled model files.