# Request Handler - Manage Accounts Workflow

**URL:** <https://developer.sailpoint.com/discuss/t/request-handler-manage-accounts-workflow/75116>\
**Category:** Workflows\
**Tags:** identity-security-cloud, workflows, community-developed\
**Created:** [August 1, 2024, 1:33pm UTC](https://developer.sailpoint.com/discuss/t/request-handler-manage-accounts-workflow/75116 "2024-08-01T13:33:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![uday\_kilambi](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/uday_kilambi/32/31482_2.png) [@uday\_kilambi](https://developer.sailpoint.com/discuss/u/uday_kilambi)\
**Post date:** [August 1, 2024, 1:33pm UTC](https://developer.sailpoint.com/discuss/t/request-handler-manage-accounts-workflow/75116/1 "2024-08-01T13:33:33Z")

</div>

![Marketplace-Gradient](https://global.discourse-cdn.com/sailpoint/original/2X/8/8a612ebeb01eab6bcf2b08a0a8e93b2c0c663aac.jpeg)

| | | |
| --- | --- | --- |
| 🗒 | **Description** | Request Handler - Manage Accounts Workflow |
| ⚖ | **Legal Agreement** | **By using this CoLab item, you are agreeing to SailPoint’s [Terms of Service](https://developer.sailpoint.com/discuss/tos) for our developer community and open-source CoLab.** |
| 🛠 | **Repository Link** | [colab-workflows/workflows/access-request-for-account-management/RequestHandler-ManageAccounts.json at 7631f04f2b6e99311ac37b04e676eccf31e90b6f · sailpoint-oss/colab-workflows · GitHub](https://github.com/sailpoint-oss/colab-workflows/blob/7631f04f2b6e99311ac37b04e676eccf31e90b6f/workflows/access-request-for-account-management/RequestHandler-ManageAccounts.json) |
| 📖 | **New to Workflows in the CoLab?** | [Read the getting started guide for Workflows in the CoLab.](https://developer.sailpoint.com/discuss/t/getting-started-with-workflows-in-the-colab/11321) |
| 🏥 | **Supported by** | [Community Developed](https://developer.sailpoint.com/discuss/t/colab-support-models/17095#community-developed-busts_in_silhouette-3) |

# Overview

Feature to make enablement/disablement of accounts requestable in ISC along with necessary approvals

# Requirements

ISC allows to request access to various applications, however, currently there is no feature to make disabling/enabling of an application account(self/others) from the Request center. This workflow enables end users to request for change in account status from the same Request Center.

# Guide

_Workflow Design:_

 ![image](https://global.discourse-cdn.com/sailpoint/original/2X/c/c462fb012ec99441dd427053755ebdbe1cfbd869.png)

1. _Roles_

Defined Two Roles(I call them as _Source Activity Roles_) for the source for enabling and disabling the account respectively as below. These roles do not need any entitlements/access profiles to be added. These are roles defined in a specific naming convention.

-Disable Account  
-Enable Account

Note:  
**Strict naming convention is followed for this requirement to achieve the needed scenario and make it as generic as possible.**

1. _Workflow_  
Developed workflow to handle the access requests with below high level module requirements:

_Trigger(Access Request Decision):_

- To detect the access requests requested for the _Source Activity Roles_ which are completed and approved

_Action:_

- Defined variables to capture the source name and action type based on the role requested
- Get the current accounts of the user and perform a loop operation on the identified source accounts
- Perform the respective action(disable/enable) on the account based on the role requested
- Revoke the source activity role for the user as it is needed to be cleared to have it requested again for another day
