Job WfFinishOrApproveActivities

General

The job WfFinishOrApproveActivities processes open workflow activities for selected process definitions and persons. It can automatically process matching approval or review activities and complete other open activities. In the supplied job descriptor, the job can be activated, is configurable and is not active by default.

Processing

Job configuration

Process definitions and role

Person, group and client

The optional filters Persons, Groups and Clients determine for which processors open activities are searched. Multiple selections are merged.

Completing person

The mode determines on whose behalf the activity is processed:

Approve and review

Period

JavaScript hook

Optionally, a JavaScript hook function can be executed before the activity is processed. It can change workflow variables via varMap. Also available are appCtx, listItem, procId, actId, finishingPersonWorkflowId and processDefinition. The changed variables are then saved.

Email

If Mail to the next workflow processor is enabled, the job collects the email addresses of the main processors of the affected processes and, after processing, sends a message with the configured Mail subject and Mail content.