Interface StateApproval


public interface StateApproval
Represents an active approval on a page
  • Method Details

    • getName

      String getName()
      The name of the approval
    • getAssignees

      List<String> getAssignees()
      The users assigned to this approval. The users could be predefined in the workflow or assigned after the state/approval was created.
      Returns:
      the current assignees
    • getPendingApprovers

      List<String> getPendingApprovers()
      Returns a list of users who are assigned but have not yet approved or rejected this approval.
      Returns:
      the list of assigned users (usernames) that have not approved or rejected this approval
      Since:
      1.11
    • getApprovals

      List<Approval> getApprovals()
      Returns a list of all approve and reject activities on this approval. A single user may be repeated in this list if they have carried out multiple activities, ie, reject than approve.
      Returns:
      the list of approval records on this approval.
      Since:
      1.11