Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
usage: wfgroupremovewf <workflow group name> <pattern match expression for workflow names>

This command removes one or more workflows from a workflow group.

With this command you compare a single pattern match expression, or several, with the full workflow name, <folder>.<workflowconfigurationname>.<workflowname>, of all the workflows.

For further information about pattern match expression see Textual Pattern Matches.

Note
titleNote!

With wfgroupremovewf you cannot remove all the workflows from a group as this will result in an invalid workflow group configuration. In that case, the command aborts and an error message informs you about the abort cause.

As the workflow group should not be emptied, the command enables you to remove all the workflows from the workflow group only if the workflow group also contains a workflow group. This way, after removing all the workflows, the parent workflow group is not empty. See the figure below, The wfgroupremovewf Command.

Image Added

The wfgroupremovewf Command

Return Codes

Listed below are the different return codes for the wfgroupremovewf command:

CodeDescription

0

Will be returned if the command was successful.

1

Will be returned if the number of arguments is incorrect.

2

Will be returned if the group is not found.

3

Will be returned if the workflow(s) you want to remove cannot be found.

4

Will be returned if there is no connection to Mgmt_Utils.

5

Will be returned if the group is locked.

6

Will be returned if the updating of group data failed.

7

Will be returned if the configuration lock could not be released.

8

Will be returned if the group is empty (all members have been removed).