kenaflow.exe --registerrer [--workflow <path-or-folder>] [--currentdirectory <folder>] [--web <web-url>]
kenaflow.exe --registerrer --all [--workflowroot <folder>] [--currentdirectory <folder>] [--web <web-url>]
The first syntax is used to register remote events with SharePoint for a dedicated workflow.
You can execute
kenaflow.exe --registerrer from within the workflow folder or you can specify a workflow folder using
--workflow <folder> or you can specify a workflow config file (
The second syntax is used to register remote events for all SharePoint workflows in the workflow root folder that are ENABLED (
Enable = $true).
Therefore use switch
--all in addition to
--workflowroot <folder> you set the workflow root folder. This overwrites the global configuration setting in Section "AfterSetup" for the current execution.
For both options:
--currentdirectory <folder> the working directory of the process can be set.
In case of SharePoint workflows that are connected to multiple webs you can specify
--web <web-url> to specify the web that only should be processed.