Class ApproverPlugin

  • All Implemented Interfaces:
    Plugin

    public class ApproverPlugin
    extends AbstractPlugin
    This plug-in is used to manage multiple users involved in a approver procedure. The list of approvers can be declared within the workflow result:

    Example:

     
      <item name='approvedby'>ReviewTeam</item>
     
     
    The tag value (e.g. 'ReviewTeam') declares the source item holding the users involved in the approver procedure. The plugin creates the following items to monitor the approver procedure:
     
      [SOURCEITEMNAME]$Approvers 
      [SOURCEITEMNAME]$ApprovedBy
     
     
    If the source item is updated during the approving process, the plugin will add new userIDs if these new UserIDs are not yet listed in the item [SOURCEITEMNAME]$ApprovedBy.

    If the attribute 'refresh' is set to true, the list [SOURCEITEMNAME]$Approvers will be updated (default is true).

    If the attribute 'reset' is set to true, the list [SOURCEITEMNAME]$Approvers will be reseted and the item [SOURCEITEMNAME]$ApprovedBy will be cleared.

    Version:
    2.0
    Author:
    rsoika