--exec
Syntax
kenaflow --exec [--workflow <path-or-folder>] [--notbe] [--noignore] [--slot <slot-id>] [--onlywf <list-of-workflows>] [--currentdirectory <folder>] [-plugin <path-to-dll>]
Description
The switch --exec
is used to run a kenaflow workflow.
If you run kenaflow.exe --exec
from within a workflow folder this workflow is executed. From any other working directory you need to specify --workflow <path-or-folder>
with eigther a path
to a _wfconfig.ps1
file or a folder
to a workflow folder (that contains a _wfconfig.ps1
file).
With --noignore
you can force kenaflow to execute a workflow that is disabled (Enabled = $false
in its _wfconfig.ps1
).
With --notbe
you can force kenaflow to execute a workflow that would not run in "main mode" (--run
) also when it next runtime is not come.
--slot <slot-id>
is used to assign the workflow to an execution slot. (Please read this article for details.)
--exec
is used by "main mode" to run single workflows in dedicated processes. You will see multiple processes in the Windows Task Manager.
You can have custom Plugins that can offer additional functionality such as custom workflow types. To run a kenaflow workflow with a certain plugin you can use this command line switch. Even if plugins are disabled on the kenaflow instance (Global Configuration Section TODO) the plugin will be executed. See