
Available commands:
...
se-flowable.list-process-instances
List process instances of the SE Flowable.
se-flowable.purge-process-instance
Purge a process instance of the SE Flowable.
set Assign a value to the system property named key.
...
{code}
h1. Commands
h2. Listing process instances ended
The command *{{se-flowable.list-process-instances}}* provides a way to list process instances ended of a Petals SE Flowable.
{code}
USAGE:
se-flowable.list-process-instances usage: se-flowable.list-process-instances [-k <process-definition-key>]
[-n <component-id>] [-o <output-file>] [-v
<process-definition-version>]
DESCRIPTION:
List process instances of the SE Flowable
OPTIONS DESCRIPTION:
-k,--process-definition-key <process-definition-key> The process definition key of process
instances to retrieve.
-n,--component-id <component-id> The identifier of the component.
Default: petals-se-flowable
-o,--output-file <output-file> Name of the output file where process
instance identifiers are printed.
-v,--process-definition-version <process-definition-version> The process definition version of
process instances to retrieve.
{code}
If no process definition is set as arguments, all process definitions are taken into account.
If no output file is provided, process instance identifier are listed on standard output. One process identifier is printed per line, in the output file or on standard output.
The number of process instances listed is printed on standard output.
h2. Purging process instance(s)
The command *{{se-flowable.purge-process-instance}}* provides a way to purge process instances of a Petals SE Flowable. Purging a process instance will deletes all data associated to the process instance from the Flowable database assocaited to the Petals SE Flowable.
{code}
USAGE:
se-flowable.purge-process-instance usage: se-flowable.purge-process-instance [-f <process-instance-ids-file>
| -i <process-instance>] [-n <component-id>] [-o <output-file>]
DESCRIPTION:
Purge a process instance of the SE Flowable
OPTIONS DESCRIPTION:
-f,--process-instance-ids-file <process-instance-ids-file> Name of the input file containing identifiers of
process instances to purge.
-i,--process-instance <process-instance> The process instance to purge.
-n,--component-id <component-id> The identifier of the component.
Default: petals-se-flowable
-o,--output-file <output-file> Name of the output file where process instance
identifiers are printed.
{code}
This command will return the flow instances (MONIT traces) associated to the purged process instance.
If no output file is provided, flow instance identifiers are listed on standard output. One flow instance identifier is printed per line, in the output file or on standard output.
The number of associated flow instances listed is printed on standard output.
h2. Undeploing a process definition
The command *{{se-flowable.undeploy-process-definition}}* provides a way to undeploing a process definition previously deployed through Petals SE Flowable.
{code}
USAGE:
se-flowable.undeploy-process-definition usage: se-flowable.undeploy-process-definition -k <process-definition-key>
[-n <component-id>] -v <process-definition-version>
DESCRIPTION:
Undeploy a process definition
OPTIONS DESCRIPTION:
-k,--process-definition-key <process-definition-key> The process definition key to undeploy.
-n,--component-id <component-id> The identifier of the component.
Default: petals-se-flowable
-v,--process-definition-version <process-definition-version> The process definition version to undeploy.
{code}