Job WfFinishOrApproveActivities
General
The WfFinishOrApproveActivities job can be used to "push forward"
open process instances of certain process definitions that
cannot be completed due to a lack of processing by the assigned
approvers/reviewers by automatically processing (i.e. approving or reviewing)
the still open approval or view activities up to a certain role.
Job configuration
-
Which process definitions:
Select the process definitions to be processed with this double list selection
-
Role
A role can be selected here to restrict the "automatic" forwarding of
tasks in a process up to a certain point in the workflow. This means that when
tasks of this role are recognized, they are no longer forwarded. For example,
the personnel role could be defined here to "forward" ongoing multi-stage
workflow processes that include approval by the personnel role at the end, in
order to ensure that the tasks automatically go to the personnel role and the
open predecessor tasks are automatically completed.
If the role remains empty, the tasks are completed to the end.
-
Javascript Hook Function:
Here you can define a Javascript that changes variables in the activity context.
The current content of the workflow variables can be read and changed via the
global JS variable 'varMap' (map with key=VarName and content=WfVariable).
-
Time selection mode
- Here you can choose whether the time window should be selected absolutely by
specifying the start/end date, or
- by specifying a relative time window into the past starting from today
-
Temporal selection of processes
-
Start date for the search for processes to be processed
Determines the start of the period for which processes to be processed
are to be searched. The effective date of the process is decisive (e.g. period
of the requested vacation). If empty, the searched period is open into the past.
-
End date for the search for processes to be processed
Determines the end of the period for which processes to be processed
are to be searched. The effective date of the process is decisive (e.g. period
of the requested vacation). If empty, the searched period is open into the
future.
-
Number of days in the past
If you select the Relative mode, you can specify the number of days in the past
from today that should be used to select the processes to be processed.
-
Approve activity
If the checkbox is activated, the job will attempt to approve the
tasks that require approval. Otherwise, the tasks will simply be completed,
regardless of whether approval or review is actually intended.
-
View Activity
If this checkbox is enabled, the job will attempt to automatically review the
tasks that need to be reviewed.
-
Which person should complete the open activity
- Author of the process
- system
- last editor
- Custom
-
Person who completes the workflow steps:
If "custom" was selected in the person selection mode, you can select the person
on whose behalf the job should complete the tasks.
-
Should an email be sent to the next workflow processor?
If activated, an email will be sent to the next person in the workflow.
-
Mail Subject
Mail subject for the information to the next processor in the workflow
-
Mail content
Mail content for the information to the next processor in the workflow