OS4X plugin os4xplugin approve

From OS4X
Revision as of 10:59, 8 May 2020 by Admin (talk | contribs)
Jump to navigation Jump to search


Purpose

Job approving means that an OS4X Enterprise job stops processing at a given plugin group position, a configured person is informed via email with two decision options whether to accept or deny the further processing of the job.

Plugin group configuration

In order to make the approve plugin work, you have to add it to your executed plugin group(s) where required. This is typically at a given time before sending data, so before executing the transmission plugins (such as "enqueue to OS4X", "SCP upload", "email files" etc.).

Bildschirmfoto 2020-05-08 um 12.51.42.png

Behaviour

When the "Approve" plugin is being executed, it makes configuration consistency checks. If they succeed, a configured approving person is being searched for in the following order (the first occurance stops further searching):

  • recipient
  • department
  • location
  • partner

If no approver is configured, the plugin continues synchronously and the plugin group continues its work.

If an approver is found, the plugin switches to asynchronous mode (see OS4X Server-side plugin philosophy for more details on synchronity of plugins). The approver receives an email, rendered with the email template (see below). It typically includes an accept and a deny hyperlink. After clicking on the appropriate link, the job does:

  • Accept: A log entry will be added to the job's plugin logs with detailled approver information. The job continues its configured plugin group.
  • Deny: A log entry will be added to the job's plugin logs with detailled approver information. The job will be cancelled.

Plugin configuration

Mail template variables