Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When a user requests access to resources, EmpowerID initiates a workflow that executes predefined operations on the target resources. For example, a user requesting membership in a Management Role triggers a workflow that updates both the user and the Management Role accordingly.

By default, if the user has the privilege to initiate but not execute all operations within the workflow, the EmpowerID Authorization Engine notifies the user of any missing access rights. This default behavior is suitable for administrative workflows that do not require approval. However, for processes that require approval, EmpowerID offers a powerful workflow engine that can be enabled on a per-workflow basis.

Workflow Approval Routing

EmpowerID allows organizations to override default behavior through its robust Workflow Approval Engine, which is configurable on a per-workflow basis. Each workflow includes a property known as "Do not generate a business request (no approval)," which is enabled by default for most workflows.

 

...

The approval process logic, in relation to the "Do not generate a business request (no approval)" property on a given workflow, occurs as follows:

  1. True state: EmpowerID checks if the initiating user possesses the Role-Based Access Control (RBAC) rights needed for all operations within the workflow. If access is sufficient, the workflow proceeds; if not, EmpowerID informs the user of their access insufficiency, and the workflow terminates. No approval routing happens in this case. This method reduces the number of approval tasks generated and removes unnecessary actions from the approval process.

  2. False state: The workflow is associated with a specific Business Request Type and will necessitate approval, irrespective of the user's RBAC permissions. The Business Request Type property categorizes workflows, enabling more flexible approval routing and grouping related access requests. This property, used in conjunction with EmpowerID’s Approval Flow and Access Request policies, allows the aggregation of similar access requests into a single "approval bundle," specifying who should receive approval tasks and determining the number of approvals needed before fulfillment.

...

 

Approval Flow Policies: Structuring Approvals

Business Requests and Approval Flow

EmpowerID’s Approval Flow policies guide the approval routing of access requests, known as "Business Requests," which users submit via the IAM Shop. In EmpowerID, a Business Request is a formalized request that is commonly initiated by end-users for specific actions or access within an organization's IT ecosystem. These requests can vary in nature, ranging from requesting access to particular resources to initiating specific workflows such as account provisioning, role changes, or permission approvals.

The Business Request feature in EmpowerID allows for the customization of request forms and approval workflows. This enables organizations to tailor the request process according to their specific needs, compliance requirements, or governance policies. Once a Business Request is initiated, it undergoes a predefined approval workflow involving one or multiple approvers, depending on the organization's Approval Flow policy configuration.

These policies ensure that each request is processed in a controlled manner, allowing for efficient tracking and auditing. Upon completion of the approval flow, the Business Request is assigned a status, such as 'Approved' or 'Rejected,' which clearly indicates the request's outcome. This feature enhances the organization's ability to maintain compliance and governance standards by providing a structured, auditable trail of all user-initiated actions and administrative decisions.

Key configurable components of Approval Flow policies include:

  1. Business Request Type: A workflow property that groups workflows by the type of business request they represent, like the IT Shop Business Request Type. Approval Flow policies can stipulate multiple levels of approval for certain Business Request Types before fulfillment. Approval flow at the Business Request level is sometimes referred to as global-level approval flow.

  2. Approval Flow Steps: Define the number of approvals required for fulfillment, with each step representing a sequential stage that must be approved before progressing. Each step can be optionally configured for "step-level" fulfillment. This means that a step can run a workflow and perform some action based on the decision made at that step. Step-level fulfillment is often used to execute an action when the approver's decision results in a rejection, stopping the forward processing of the approval flow. The normal fulfillment process for an item request only executes if all steps are approved.

  3. Item Level Approval: Each step can allow Item Level approval, enabling the approver to make decisions on each item instead of a single decision for the entire Business Request.

  4. Approver Resolver Rules: Dictate who the Approval Flow Step should route for approval. These can be routed to various actors in EmpowerID including the:

    • Initiator Manager – The request routes to the manager of the person initiating the request

    • Target Person Manager – If making a request for another person, the request routes to that person’s manager for approval

    • Resource Owner – Owner of the item resource

    • Global Resource Owner – Owner of the resource specified as the subject of the Business Request. This allows items to be routed for approval to the subject of the request, such as the group, instead of to each account being added as a member.

    • RBAC Approver – Anyone with the RBAC delegations needed to approve the request

    • Static Approver – Approvers are specific users selected for the step

    • Fallback Approver – Can select someone to approve in the instance that a specified approver does not exist, such as would be the case if a Management Role was selected as a Static Approver and no one had that role

  5. Items Types and Item Type Actions: Item Types are the individual resources that can be requested, and Item Type Actions represent actions that can occur against an item. Examples of Item Type Actions include Add Account To Group or Assign Azure License.

Multi-level Approval Flow Logic

EmpowerID allows for two levels of approval: Business Request level and Item level. Rejection at the Business Request level (the global level) terminates the entire process. Only items approved at the Business Request Level progress to the next step, where they can optionally be approved at the individual item level.

Business Request Level

At this level, the Approval engine looks at the Business Request Type to see if the type is defined with any Approval Flow policies per Access Request policy. If the Business Request Type is not defined as specified, nor defined for the Access Request policy of the target resource for the type, then the engine checks the Business Request itself to determine the Approval Flow policy.

Item Level

At this level, the Approval engine first checks the Item Type Action per the Access Request policy to see if the policy designates different Approval Flow policies for the item based on its Access Request policy. If there isn't a specific Access Request policy defined for the Item Type Action, the engine checks the Item Type Action itself for a specific Approval Flow Rule. If there isn't a specific Approval Flow Rule set, the Approval engine falls back on the Approval Flow Policy for the item as specified on the item's Access Request policy. 

...

 

Figure 3 above illustrates how approval flows work in EmpowerID at a high level. This example creates a new Business Request to onboard an employee. The onboarding request includes a Business Role, a group, and a Management Role. Once all levels of approval are cleared, items in a Business Request can proceed to fulfillment. This process is managed by the Business Request Item Fulfillment Job, which handles items ready for fulfillment in two ways, based on whether they are associated with Correlation IDs.

  1. Fulfill in Different Workflow (No Correlation ID): Items without Correlation IDs are directed to the fulfillment workflow specified for their related Item Action Types. For instance, if a user is to join a Management Role, the designated workflow for that action would fulfill the item. These items never return to the initial workflow operation for resumption; instead, the calling workflow exits the process.

  2. Fulfill in Initial Workflow (Correlation ID): Items bearing Correlation IDs are routed back to the originating workflow operation, where approval was a prerequisite to proceed.

Info

The presence of Correlation IDs within a workflow is a user-controlled setting that can be enabled or disabled for any workflow within the EmpowerID UI as needed. The "Return to WF for Fulfillment" setting governs this behavior and can be adjusted on the "Edit One" page of any workflow.

The fulfillment process, according to the existence of Correlation IDs, is depicted in Figure 4.

...

Notification Policies

EmpowerID sends notifications to request approvers, initiators, and delegated users as part of the approval process. The approval process allows users to customize the frequency and type of notifications they receive. Here's how notifications function in EmpowerID:

  1. A Business Request Event is created each time a user submits a Business Request.

  2. Business Request Events are submitted to the Business Request Notification Policy engine.

  3. The engine determines if the event needs to be added to the Business Request Notification Inbox by first examining individual users' notification preferences and defaulting to system notifications if no personalized settings exist.

  4. Notifications are then sent to Business Request participants based on these settings.

Notification Policy Components

Several components drive the Notification policies and how the Notification Policy engine delivers notifications. These include:

  • Business Request Events: Four levels of events where notifications can be triggered: Created, Open, Approver Set, Fulfillment Ready, and Fulfillment Completed, and Completed.

  • Business Request Participant Type: Individuals associated with a specific part of a business request. These can include the Initiator, TargetPerson, InitiatorManager, TargetPersonManager, Approver, Approver Manager, Potential Approver, and Commenter.

  • Levels: Several levels can be designated for notifications, including Business Request, Business Request Item, Business Request Approval Step, and Business Request Item Approval Step.

  • Messages: Email messages delivered by the notification engine to Business Request participants.

Business Request Expiration

Setting expiration dates for business requests is important for the efficient management of the requests. It ensures that approvals are completed within specific timelines, helping organizations meet regulatory requirements. Once the business requests have expired, it doesn't appear for any approvers, thus managing the requests better. EmpowerID has two strategies based on expiration dates for handling business request expiration.

The first is a fixed 90-day policy, based on an expiration date, which automatically expires any incomplete requests after 90 days. The second strategy is more dynamic based on the inactivity expiration date, calculating the period of inactivity based on user actions. The types of expiration dates in EmpowerID are

Expiration Date - Whenever a business request is initiated, it is assigned an expiry date in the "ExpirationDate" field. If a specific number of days is not mentioned for the process, then the default expiry date will be set to 90 days from the date of creation.

Inactivity Expiration Date - The inactivity expiration date for business requests is calculated dynamically based on user activity. It is calculated by adding the number of days specified in the ExpireRequestAfterXDaysOfInactivity field to the current date. Whenever there is an activity, the inactivity expiration date shifts X days into the future.

Info

Known areas for improvement: There is room for improvement in the current expiration logic for business requests that may be implemented in the future. Known areas for improvement are

  • Ability to define distinct expiration dates (in days) based on the types of business requests.

  • A notification or event should be triggered when a business request expires and ensure an action is associated with it.

The job “Business Request JSON Inbox Processor“ is responsible for finding expired business requests and setting their status as expired. For a business request to be considered "expired," it must meet two conditions:

...

  • Status: The request should be in an "Open" or "In Progress" status, indicating that it is still active and has not been completed or canceled.

  • Expiration Dates: Either the expiration date or the inactivity expiration date mentioned earlier is passed.

So, if the "Business Request JSON Inbox Processor" finds a business request that meets these two conditions, it will update the status of that request to "Expired." Consequently, the expired request will no longer show up on the list of tasks for approval by any approver, ensuring that no further actions are taken on a request that is no longer valid.

Approval Flow Demo

The following video demonstrates how to configure approvals and approval routing in EmpowerID.

...