|
|
1 |
Open Workflows, Policies.
|
2 |
Click POLICY. The Create Policy form opens.
|
3 |
Enter a policy name.
|
4 |
Specify the duration type; days or hours.
|
5 |
Define the workflow executions to be cleaned up by the policy:
-
Enter a number in the Older Than field.
The number entered is combined with the Duration Type to configure the retention duration. By default, executions are retained for 30 days.
-
Select tags from the Filter field to filter on as needed. The Filter field includes the tags that are currently in use for workflows.
The policy applies to executions of workflows with the selected tags.
-
Select workflows from the Workflow Name to filter on as needed.
The policy applies to executions of the selected workflows.
If the Filter and Workflow Name fields are both configured, the policy applies when either condition is fulfilled; that is, when the tag is present or the execution belongs to a specified workflow.
|
6 |
Choose the operation type.
The delete operation removes executions that are no longer running. The cancel operation stops running executions.
|
7 |
Select an execution state.
If the operation parameter is configured as Cancel executions, the only supported state is Running.
|
8 |
Select the Enabled check box to enable the policy to begin running according to the schedule you configure.
|
9 |
Configure the schedule:
-
Click Schedule and configure the schedule parameters.
-
Click Custom and configure a cron expression in the format minute hour day-of-month month day-of-week.
Cron expression wildcards are supported. For example, the cron expression 0 0 1 * ? indicates midnight on the first day of the month.
Note: Nokia recommends that schedules not be set to run more than once a day.
|
10 |
Click CREATE.
End of steps |