--cleanuperrorlist

Syntax

kenaflow.exe --cleanuperrorlist <days> [--workflow <path-or-folder>] [--currentdirectory <folder>] [--web <web-url>]

kenaflow.exe --cleanuperrorlist <days> --all [--workflowroot <folder>] [--currentdirectory <folder>] [--web <web-url>]

Description

The first syntax is used clean up the error list of one certain workflow. You specify with `´ (an integer greater or equal 0) how old must error entries be to be deleted.

You can execute kenaflow.exe --cleanuperrorlist from within the workflow folder or you can specify a workflow folder using --workflow <folder> or you can specify a workflow config file (_wfconfig.ps1) using --workflow <path>.

The second syntax is used clean up the error lists of all enabled workflows. You specify with <days>´ (an integer greater or equal 0) how old must error entries be to be deleted. Therefore use switch --allin addition to--cleanuperrorlist`.

With --workflowroot <folder> you set the workflow root folder. This overwrites the Global Configuration setting in Section "AfterSetup" for the current execution.

For both options:

With --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. Otherwise all connected webs are processed!

Discussion