Hello there!

Need Help? We are right here!

Support Icon
miniOrange Email Support
success

Thanks for your Enquiry. Our team will soon reach out to you.

If you don't hear from us within 24 hours, please feel free to send a follow-up email to info@xecurify.com

Search Results:

×

Workflows


Workflows automate what happens when a user is created, updated or deleted in the miniOrange Identity Platform, and run scheduled tasks such as dormant account clean-up and password expiry notifications. You build each workflow on a visual canvas: choose a trigger event, choose the sources it applies to, then add the steps you need before or after the event.

A workflow can now chain several steps in one flow: filters, If/Else branches, attribute transformations, group and role tasks, delays and approvals. Approvals work in every user workflow, and the new pre-user update and user deletion workflows let you review a change before it is applied.

Every run is recorded in Execution History, including the step where a failed run stopped and a per-user result for bulk runs.

What's New in Workflows

Workflow Events and Flows

Workflows start from one of five events. Each event is covered below, with its flows.

Steps, approvals, activation and monitoring work the same way across events:

  • Configure Workflow Steps
  • Approval Policy
  • Save, Publish and Activate Workflows
  • Execution History
  • Email Templates for Workflows

Create and Configure a Workflow

    Step 1: Create Workflow

    • Navigate to Automations >> Workflows.
    • Click Create Workflow to open the modal.
    • Create Workflow button in Admin Handbook

    • Enter a Workflow name (for example, "New user creation test via signup flow") and a Description (for example, "Workflow to test the end-user account creation process through the sign-up flow").
    • Create Workflow modal in Admin Handbook

    • Click Create Workflow to proceed.
    • The canvas opens with three blocks: Start, Add Trigger and End.
    • Canvas with Start, Add Trigger and End blocks in Admin Handbook

    Step 2: Add Trigger

    Step 3: Understand the Workflow Canvas

    After you save the trigger of a user creation, update or deletion workflow, the canvas shows these blocks:

    • Event Trigger Source Block: shows the configured trigger and sources, with an option to edit them.
    • Add Step (before the Event block): steps added here run before the change is applied, for example a filter, an attribute transformation, an approval or a delay.
    • Event Block: the event itself, for example user created, user updated or user deleted. It is added for you.
    • Add Step (after the Event block): tasks that run after the change, such as group and role assignments.
    • End Block: marks the end of the workflow run.
    • Blocks created after saving the trigger in Admin Handbook

    • Click + before or after the Event block to open the Add Step menu. The menu lists different steps for each position and each event. See Add Step menu by event and position. You can chain as many steps as you need. See Multiple tasks in one workflow.
    • Note: In a user deletion workflow, steps can be placed only before the delete step, so a check can never run after the account is gone.


    • Scheduled workflows (Identity Dormant Account and Notify User on Password Expiry) use a Scheduler and an Add Task step instead. See those sections below.

Configure Workflow Events

The five events are shown as tabs. The tab names are: Joiner, Mover, Leaver, Account Dormancy and Password Expiry.


New User Registration

This workflow runs when a user is created, through the signup flow or by an admin. You can add filters, approvals and tasks around the creation.

Configure event sources

  • Select New User Registration in Select Event.
  • Under Select Sources, choose the source that should run the workflow. The available options are:
Select Event: New User Registration in Admin Handbook

Source Description
User Self-Registration User creation via the branded signup page (for example, https://<username>.miniorange.com/moas/idp/usersignup).
User Create via Admin Portal An administrator creates users manually or through bulk CSV upload.
User Create via External Source The workflow runs when users are created from external identity sources.
User Create via API The workflow runs when users are created through APIs.
Any Source The workflow runs for events from all available sources.

Trigger configuration with sources in Admin Handbook

  • Click Save to proceed. The canvas blocks are created. See Understand the Workflow Canvas.

Add steps

  • Before the Event block (runs before the user is created)
  • Add Step menu before the Event block in a user creation workflow

    • Rules: branch, split and terminate the flow. See If/Else Branching.
    • Approval Policy: pause the workflow for a multi-stage approval policy. See Approval Policy.
    • Filter: continue the workflow only for users matching the conditions, for example emails containing "xecurify.com". See Filter.
    • Attribute Transformation: derive or rewrite user attributes before the user is created. See Attribute Transformation.
    • Delay: pause the workflow for a duration or until a date. See Delay.
  • After the Event block (runs after the user is created)
  • Add Step menu after the Event block in a user creation workflow

    • Rules: branch, split and terminate the flow.
    • Assign Group to User: assign groups to the user. See Assign and Unassign Groups and Roles.
    • Assign Role to User: assign a role to the user.
    • Approval Policy: pause the workflow for a multi-stage approval policy.
    • Delay: pause the workflow for a duration or until a date.

Example: A new hire is created, the manager approves, the workflow waits until the start date, the user is added to department groups, and the right role is assigned. See Multiple tasks in one workflow.
When all steps are added, save and activate the workflow.

Configure Workflow Steps

  • Add Step menu by event and position: Steps are added from the + button on the canvas. The Add Step menu depends on where you click: before the Event block or after it, and on the event. User deletion workflows have no steps after the Event block.
  • Step Description
    Rules Branch, split and terminate the flow. See If/Else Branching.
    Assign Group to User /
    Change Group Membership
    Assigns groups to the user, or changes the user's group membership, in miniOrange. See Assign and Unassign Groups and Roles.
    Assign Role to User Assigns a role to the user in miniOrange.
    Unassign Groups from User /
    Unassign Role from User
    Removes groups or roles from the user.
    Approval Policy Pauses the workflow for a multi-stage approval policy. See Approval Policy.
    Filter Continues the workflow only for users matching the conditions. See Filter.
    Delay Pauses the workflow for a duration or until a date. See Delay.
    Attribute Transformation Derives or rewrites user attributes before the user is created. See Attribute Transformation.

    Note: See the menus in New User Registration, Pre-user update, On User Update and On User Deletion.


  • Multiple tasks in one workflowNew
  • A workflow is no longer one trigger and one action. You can chain as many steps as the process needs, in the order you want, on one canvas. The whole process lives in one place, which makes it easier to build, explain and change later.
    The building blocks are:

    Step What it does
    Approval Pauses until the right people approve, with multi-stage approval policies.
    Filter Lets only matching users continue (Pass / Fail).
    Delay Waits for a set time, or until a date such as a start date.
    Attribute Transformation Fills in or reshapes user attributes, such as generating a unique email.
    Assign / Unassign Groups & Roles Keeps access in sync.
    If / Else Splits users onto different paths.
    • Click + on the canvas, above or below the Event block.
    • Select the step from the Add Step menu and configure it.
    • Repeat to add more steps. Each card on the canvas shows the rules it applies, so you can read the whole workflow at a glance.

    Example: New hire created, manager approves, wait until the start date, add to department groups, assign the right role. Five steps in one workflow, no scripts. In the workflow below, Gmail users go through a manager approval and then get a role based on their details, and everyone else gets their group straight away.

    Workflow example: Gmail users get a manager approval and a role, and everyone else gets their group

  • Filter (Updated)
  • A filter lets only the users who match your conditions continue in the workflow. For example, restrict user creation to emails that contain "xecurify.com".

    • Click + (or Add Step) before the Event block to open the step drawer.
    • Add Step before the Event block

    • Select Filter as the step type.
    • Select Filter as the step type

    • Select an attribute, an operator and a value in the three dropdown fields.
    • To add more conditions, choose AND or OR between them. With OR, the workflow runs when any one of the conditions is met.
    • Filter conditions with AND or OR

    • While adding a condition, you can also select previously saved optional (non-required) custom user attributes.
    • Select previously saved optional custom user attributes

    • Click Save to continue.
  • Assign and Unassign Groups and Roles
  • These tasks put users in, or take them out of, the right groups and roles as part of the workflow, so access is right from the first login and stays consistent. The tasks are listed in the Add Step menu after the Event block. Each task uses a policy, which is a set of simple rules plus a fallback. For example:

    Rule Action
    Department is Sales Add the user to Sales-Team and CRM-Users.
    Location is London Add the user to UK-Office.
    Otherwise (fallback) Add the user to a default group, so nobody is left out.
  • Attach a policy to a task
    • Click + after the Event block and select the task, for example Assign Group to User (user creation) or Change Group Membership (user update).
    • Select a policy that is already published. Each policy shows its version. To build a new one, click Create new.
    • Click Attach.
    • Assign Group to User: choose a published policy or create a new one, then Attach

    • Policies are reusable. Build a policy once and attach it to other workflows.
    • Each policy keeps its version history, so you can see which rules a workflow is using.
    • The group list keeps loading as you scroll, so picking groups is quick even in large directories.
  • Create a policy
    • Select the task, for example Assign Group to User or Change Group Membership, and select the groups.
    • Assign Group to User task

      Select groups

  • Attributes and operators
  • All four tasks share the same attributes and operators. Supported attributes: Username, Email, User Status, First Name and Last Name. Supported operators: Equal, Not Equal, Contains, Not Contains, Start With and End With.

    Rules

    Use Add Condition to configure the attribute, operator and value, then combine conditions:

    Operator Description
    AND All configured conditions must be satisfied.
    OR At least one of the configured conditions must be satisfied.

  • Fallback
  • The fallback runs if none of the rules match.

    • Click Add Fallback.
    • Select the group (or role) to apply as the fallback.
    • Click Save.
    • Configure fallback

      Save fallback configuration

    • To add more tasks, click + again, select the task type, configure it the same way, and repeat. When all tasks are configured, click Create. See Save, Publish and Activate Workflows.
    • Note: When assigning a role, you can select only one role, and the default roles are not listed.


  • Attribute TransformationNew

    Attribute Transformation fills in or reshapes user attributes with expressions before they are stored, for example to generate a unique email address or build a username from other attributes.

    • Click + on the canvas and select Attribute Transformation.
    • Select the attribute to fill in or change and enter the expression that derives the value.
    • Click Save.

    For example, if the email is john@gmail.com, the first name is John and the last name is Doe:

    Expression Result
    ${fname} + " " + ${lname} John Doe
    Str.splitGet(${email}, "@", "0") + "@custom-domain.com" john@custom-domain.com
    Str.toUpper(${fname}) JOHN

    For the full list of functions, such as substring, case and array functions, see the Attribute Transformation guide.

  • If/Else BranchingNew
  • Not every user should get the same treatment. An If/Else rule sends each user down the path that fits them, so one workflow can replace a pile of near-identical ones. For example, users from one identity provider get one onboarding, users from another get theirs, and it is all visible on one canvas.

    • Click + on the canvas and select Rules.
    • Select If / Else Branch to send the flow down one of two paths.
    • Rules: If/Else Branch

    • The canvas splits into an IF path and an ELSE path. Each one gets its own + for adding steps, and the paths rejoin before the next step.
    • If/Else branch on the canvas, with IF and ELSE paths that rejoin before the next step

    • Set the condition. In the example, users whose Identity Source is Azure take the IF path, and everyone else takes the ELSE path.
    • Condition panel: Identity Source equals Azure, with Add Condition for more rules

    • Click Add Condition to add as many conditions as you need, and combine them with AND or OR as in a filter. Then click Save.
    • Click + on the IF or ELSE path to add steps to that path. A path can run its own steps, or simply end when there is nothing more to do.
    • Build a condition from things you already know about the user:

      Condition part Options
      Field Identity Source: the identity provider the user came in through. Applications: the application the user is tied to. Any user attribute: for example email, first name, department or location.
      Operator equals, contains, not contains, is not present and more.
      Value Choose the value from a list.

  • DelayNew

    Some things should not happen the moment a user is created or changed. The Delay step pauses a workflow and picks it up again later on its own, so joiner and leaver timing is handled by the workflow instead of a calendar reminder.

    • Click + on the canvas and select Delay from the Add Step menu. The Delay panel opens.
    • Select the Delay Type. It sets how the wait is measured: a fixed amount of time, a wait until a specific date, or a wait that starts from a date.
    • Fill in the fields for the type you selected. See the tables below.
    • Click Save.
    • Delay Type: Delay For, Delay Until and Delay After Date

      Delay type What it does Example
      Delay For Pauses the workflow for a set duration of time. Wait 2 days and 4 hours, then carry on with the next step.
      Delay Until Pauses the workflow until a specific date and time arrives. Wait until the user's start date, then grant access.
      Delay After Date Waits until a specific date and time, then waits for an additional duration. Wait 7 days after the contract end date, then remove access.

      1. Delay For :

      Delay For: Wait For

      Field Description
      Wait For How long to pause before the workflow carries on. Enter days, hours and minutes (00d 00h 00m).

      2. Delay Until

      Delay Until: Wait Until, At and Timezone

      Field Description
      Wait Until Pick a user attribute to read the date from the user's profile, or type a fixed date in YYYY-MM-DD format. Enter an attribute as a variable expression.
      At Optional. The time on that date when the workflow carries on, in hh:mm format. Defaults to 00:00.
      Timezone The date and time above are read in this time zone.

      3. Delay After Date

      Delay After Date: Starting From, At, Then Wait and Timezone

      Field Description
      Starting From The date the wait is counted from. Pick a user attribute, or type a fixed date in YYYY-MM-DD format.
      At Optional. The time on that date when the countdown starts, in hh:mm format. Defaults to 00:00.
      Then Wait How long to wait after that date before the workflow carries on. Enter days, hours and minutes (00d 00h 00m).
      Timezone The date and time above are read in this time zone.
    • Dates can come from the user's own attributes, such as a start or end date.
    • Select the time zone so that "9 AM" means 9 AM for your team.
    • You can add several delays to one workflow. Delay also works in user update workflows.
    • While a user is waiting, Execution History shows what the user is waiting for and until when.

Approval PolicyNew

Approvals are no longer tied to a single flow. You can add an Approval Policy step to any user workflow: user creation, user update, pre-user update and user deletion. Wherever a change needs a human sign-off, it can have one.

Add an approval step

  • Click + on the canvas and select Approval Policy from the Add Step menu. The Select Approval Policy panel opens and lists your existing approval policies.
  • To find a policy, enter its name in the search field. To check a policy before you attach it, click the eye icon next to it. See View an approval policy.
  • Select the policy. The selected policy is highlighted with a check mark.
  • Click Attach Policy.
  • A selected policy is highlighted with a check mark

  • To create a new policy, click Create Approval Policy. If the search finds no policy, the same button is shown in the results. See Create an approval policy.
  • No approval policies found: Create Approval Policy

  • The Approval Policy card on the canvas shows each stage and the number of approvers for it. A policy that you create is attached to that workflow. You can select the same policy by name in any other workflow, so build it once and reuse it.
  • Approval Policy is listed in the menu before and after the Event block in user creation and user update workflows, and before the Event block in user deletion workflows.

Create an approval policy

An approval policy has two steps: Basic Configuration and Approval Stages.

  • In the Select Approval Policy panel, click Create Approval Policy.
  • In Basic Configuration, select the Approval Type, enter a Policy Name and, optionally, a Description. Click Next.
  • Basic Configuration: Approval Type, Policy Name and Description

    Field Description
    Approval Type Select the type of approval. Sequential is currently the only option.
    Policy Name Enter a name for the policy. You select the policy by this name in other workflows.
    Description Optional. Describe the purpose and scope of the policy. Up to 250 characters.
  • In Approval Stages, click Add Stage to create the first stage.
  • Approval Stages: no stages added yet

  • Configure Stage 1 with the four fields below.
  • Stage 1: Approver Resolution Type, Approvers, Execution Mode and Approval Strategy

    Field Description
    Approver Resolution Type Defines how the system selects the approvers (users, groups or roles). Individual Users is currently the only type. It lets you manually specify individual users as approvers.
    Approvers Choose the people who will review and approve the request.
    Execution Mode Decide whether approvals happen one after another or all at once. See Sequential and parallel approvals.
    Approval Strategy Set how many approvals are required for the request to pass.
    Approver Resolution Type: Individual Users

  • To add more stages, click Add Stage. See Configure multiple approval stages.
  • Click Create Policy. The policy is attached to the workflow.

Configure multiple approval stages

Use more than one stage when a request needs sign-off in steps, for example the manager first, then IT security. Stages run in the order they are listed.

  • In Approval Stages, click Add Stage below Stage 1.
  • Configure the new stage in the same way, with the four fields above.
  • Repeat to add more stages.
  • A policy with two stages. Stage 1 is sequential and needs all approvers. Stage 2 is parallel with a threshold of 1 approver

Sequential and parallel approvals

  • Select the Execution Mode for the stage:
  • Execution Mode How it works
    Sequential Approvers review one after another in sequence.
    Parallel All approvers review simultaneously.
    Execution Mode: Sequential or Parallel

  • Select the Approval Strategy to set how many approvals are required for the request to pass:
  • Approval Strategy How it works
    All Must Approve All assigned approvers must approve the request before it can proceed.
    Majority Approval More than half of the assigned approvers must approve the request.
    Minimum Approvals A minimum number or percentage of the assigned approvers must approve the request. You can set the minimum as either a number or a percentage. Add more than one approver to set a minimum.
    Any One Approves Any single approver can approve the request.
    Approval Strategy: All Must Approve, Majority Approval and Minimum Approvals

View an approval policy

  • Click the eye icon next to a policy in the Select Approval Policy panel to see its details. The panel shows the policy name and description, its type, and each stage with its resolution, execution mode, strategy and approvers. Click Edit to change the policy, or Back to return to the list.
  • The panel shows the strategies as Unanimous (All must approve) for All Must Approve, and Threshold (n approvers) for a minimum count of approvers.
  • A policy with two stages. Stage 1 is sequential and needs all approvers. Stage 2 is parallel with a threshold of 1 approver

Manage approval requests

  • Approvers handle every request from one Approvals page.
  • Go to Automations >> Approvals. The Pending tab lists requests waiting for a decision, and the History tab lists requests that are concluded.
  • Open a request and review the full user details behind it. The Details button shows who else has resolved the request, how many approvals are required and how many are completed.
  • Click Approve or Reject and add a comment, or use a quick approve or reject message to act in one click.
  • Bulk requests arrive as a single batch. Approvers can approve the whole batch, or only the users they select.
  • Until a request is approved, the workflow waits, and Execution History shows what it is waiting for.
  • Approver access: an approver other than the miniOrange admin must be an admin with the Manage Approvals capability enabled under Users >> User Roles >> Edit Capabilities >> Admin Approvals. For more on the Approvals page, see the Approvals guide.

Save, Publish and Activate Workflows

  • Click Create at the top right to save the workflow. You are redirected to the workflow list page, where the new workflow appears with its version status: Click Create to save the workflow

    • Draft: an inactive version, ready for editing.
    • Active: the version that is currently running.
    • Published: a version that has already been activated and can be activated again when required.
    Draft workflow

  • To run the workflow, change the status of the version to Active.

Add a remark

Workflow administrators can add remarks to versions to give context, such as the purpose of a version or the changes made.

  • The Add Remark option is displayed below the workflow version name. Click Add Remark. A dialog box with a text field appears.
  • Add Remark below the workflow version name

  • Enter the remark and click Save. The remark is displayed below the version name.
  • Saved remark below the version name

  • To edit a remark, hover over it and click Edit. The dialog opens with the existing remark.
  • Edit a remark

    Edit remark dialog

  • Deactivate a version: disable the workflow.
  • Deactivate a workflow version

  • Use the action buttons to activate, preview, edit or delete versions. A maximum of 10 versions per workflow is allowed.
  • Action buttons for workflow versions

Execution History

  • Navigate to Automations >> Workflows >> Execution History.
  • Navigate to Workflow Execution History

  • All workflow runs are listed here.
  • All workflow runs listed in Execution History

  • When a workflow fails, the system records detailed error information. Admins can see why a workflow failed, at which step it failed, and what the system state was at that time. Click View Details to see these.
    • Success flow
    • Success flow in Execution History

    • Failed flow
    • Failed flow in Execution History

  • When a run is waiting on a Delay or an Approval, Execution History shows what the user is waiting for and until when.

View execution details for each user in bulk runsNew

If you upload 500 users in one go, you can now see what happened to every one of them, not just that the bulk job ran. When one user out of hundreds did not get their groups, you find them in seconds and see why, instead of digging through logs.

  • Go to Automations >> Workflows >> Execution History, find the bulk run in the list and click View Details. The Bulk Upload Users window shows:
  • A summary at the top: how many users succeeded, failed, are still running or are waiting for approval.
  • One row per user, with the status and the time the run started.
  • Pages for big uploads, so long runs stay easy to browse.
  • Bulk Upload Users: a status summary, then each user's execution with a Details button

  • Click Details for a user to see exactly which steps ran and where the run stopped.

Email Templates for Workflows

  • Navigate to Customization >> Email and SMS Templates. These templates are used by workflows:
  • Navigate to Email and SMS Templates

  • Disable Dormant Account Workflow Report: sends an admin report after dormant users are disabled by the workflow.
  • Delete Dormant Account Workflow Report: sends an admin report after dormant users are deleted by the workflow.
  • Dormant User Report: sends an admin report listing all dormant users identified by the workflow.
  • Password Expiry Alert: notifies users before their password expires.
  • Password Expiry Notification: notifies users after their password has expired.
  • About to Expire Password Report: sends an admin report of users whose passwords are about to expire.
  • Password Change Success: confirms to the user that the password was changed.

Auditing of All Admin Activities

Every admin activity is logged, including who performed the action, what action was taken, on which resource, and when it happened. The audit logs also show whether the action succeeded or failed.

Admins can view these logs on the Audit Reports page and apply filters for easier searching.

Important Notes

  • The system automatically detects the time zone during scheduler configuration.
  • Multiple notification intervals can be configured for comprehensive coverage.
  • Both the dormant account and password expiry workflows support various scheduler frequencies.
  • Workflows maintain version control with draft and active states.
  • A maximum of 10 versions per workflow is allowed, with activation and deactivation.
  • Steps added above the Event block run before the change is applied. In a user deletion workflow, steps can only be placed before the delete step.
  • A user waiting on an approval or a delay is shown in Execution History until the step completes.