# Implement Approval Process for Batch Access request

**URL:** <https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888>\
**Category:** IIQ Discussion and Questions\
**Tags:** access-requests, identityiq\
**Created:** [September 19, 2024, 1:34pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888 "2024-09-19T13:34:59Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![schaudhury](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@schaudhury](https://developer.sailpoint.com/discuss/u/schaudhury)\
**Post date:** [September 19, 2024, 1:34pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/1 "2024-09-19T13:34:59Z")

</div>

## Which IIQ version are you inquiring about?

8.4

Hi Everyone, I have a requirement where the roles and entitlements should follow the default approval process as it is set even when they are requested in bulk. Could anyone please let me know what I need to change in the ‘LCM Provisioning’ workflow to achieve this feat.

---

<div class="post-metadata">

**Author:** ![Arun-Kumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/arun-kumar/32/15128_2.png) [@Arun-Kumar](https://developer.sailpoint.com/discuss/u/Arun-Kumar)\
**Post date:** [September 19, 2024, 1:40pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/2 "2024-09-19T13:40:57Z")

</div>

Hi @schaudhury,

Check the business process for Request access and Batch Request Access in Lifecycle Manager. Both should be same business process.

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

Regards,  
Arun

---

<div class="post-metadata">

**Author:** ![schaudhury](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@schaudhury](https://developer.sailpoint.com/discuss/u/schaudhury)\
**Post date:** [September 19, 2024, 2:41pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/3 "2024-09-19T14:41:14Z")

</div>

@Arun-Kumar it tried this but it didnt go for approval

---

<div class="post-metadata">

**Author:** ![Arun-Kumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/arun-kumar/32/15128_2.png) [@Arun-Kumar](https://developer.sailpoint.com/discuss/u/Arun-Kumar)\
**Post date:** [September 19, 2024, 2:54pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/4 "2024-09-19T14:54:27Z")

</div>

Is a separate Access Request being generated for each item within this Batch Request?  
could you please provide the name of the workflow configured for these Batch Request?

---

<div class="post-metadata">

**Author:** ![schaudhury](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@schaudhury](https://developer.sailpoint.com/discuss/u/schaudhury)\
**Post date:** [September 19, 2024, 2:58pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/5 "2024-09-19T14:58:19Z")

</div>

I tried setting the Access Request workflow as you suggested but it didnt work so changed it to the default LCM Provisioning workflow now.

 ![image](https://global.discourse-cdn.com/sailpoint/original/3X/6/a/6a6ca32b9cd810f39f4101cf7deec4535008bd6c.png)

---

<div class="post-metadata">

**Author:** ![keithsmith](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/keithsmith/32/5503_2.png) [@keithsmith](https://developer.sailpoint.com/discuss/u/keithsmith)\
**Post date:** [September 19, 2024, 3:44pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/6 "2024-09-19T15:44:16Z")

</div>

Verify the approvalScheme in LCM Provisioning. It should be “owner”. If it isn’t, then you likely have customized the OOTB workflow and should instead have cloned that workflow to a new workflow with a different name, and should be using that. Modifying the OOTB workflows, or even opening them in the Business Process editor, I don’t recommend, because then you can’t go back and compare the OOTB workflow to your custom one for troubleshooting.

In any case, if you want to see what your workflow is doing, set up workflow trace. You can do this in your log4j2.properties by setting up a logger with sailpoint.WorkflowTrace of trace. Then you can trace your workflow while it is doing a bulk load, and see if there’s a step that causes it to skip the approvals.

---

<div class="post-metadata">

**Author:** ![schaudhury](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@schaudhury](https://developer.sailpoint.com/discuss/u/schaudhury)\
**Post date:** [September 19, 2024, 3:48pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/7 "2024-09-19T15:48:19Z")

</div>

Hi @keithsmith, the approvalScheme in LCM Provisioning is set to none. And we have used cloned and used the LCM Provisioning with a different name where the approval scheme is set to ‘manager’. I tried setting that workflow too but it didnt work.

---

<div class="post-metadata">

**Author:** ![keithsmith](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/keithsmith/32/5503_2.png) [@keithsmith](https://developer.sailpoint.com/discuss/u/keithsmith)\
**Post date:** [September 19, 2024, 4:44pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/8 "2024-09-19T16:44:31Z")

</div>

From what I understand: You have a workflow you are using for Requests and it has the manager approvalScheme. You found that batch requests were set to LCM Provisioning which has approvalScheme of none and have corrected that, setting it to your custom workflow. Can you confirm that you have done a rolling restart of the task servers and UI servers before testing? Remember that batch processes start on the UI servers.

---

<div class="post-metadata">

**Author:** ![schaudhury](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@schaudhury](https://developer.sailpoint.com/discuss/u/schaudhury)\
**Post date:** [September 19, 2024, 4:52pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/9 "2024-09-19T16:52:00Z")

</div>

@keithsmith before the changes it was done.  
Btw the latest update is when I set the BatchRequestApproval in SystemConfig as true, it is going for approval but to the admin who is uploading the batch file but we need to generate it for each row item as per the default process

---

<div class="post-metadata">

**Author:** ![ipobeidi](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/ipobeidi/32/16000_2.png) [@ipobeidi](https://developer.sailpoint.com/discuss/u/ipobeidi)\
**Post date:** [September 19, 2024, 5:06pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/10 "2024-09-19T17:06:33Z")

</div>

You need to select " generate access request " Option the batch request.

That is the solution for you problem.

Best!

---

<div class="post-metadata">

**Author:** ![schaudhury](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@schaudhury](https://developer.sailpoint.com/discuss/u/schaudhury)\
**Post date:** [September 19, 2024, 5:08pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/11 "2024-09-19T17:08:31Z")

</div>

@ipobeidi you mean Generate Identity Request? I have selected that option

---

<div class="post-metadata">

**Author:** ![Arun-Kumar](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/arun-kumar/32/15128_2.png) [@Arun-Kumar](https://developer.sailpoint.com/discuss/u/Arun-Kumar)\
**Post date:** [September 19, 2024, 5:30pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/12 "2024-09-19T17:30:58Z")

</div>

Add the below script in Approve and Provision step under LCM Provisioning workflow.

```auto
    <Arg name="approvalScheme" value="ref:approvalScheme">
      <Script>
        <Source>
          if(source.equalsIgnoreCase("Batch")){
          return "manager";
          }
        </Source>
      </Script>
    </Arg>

```

---

<div class="post-metadata">

**Author:** ![schaudhury](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@schaudhury](https://developer.sailpoint.com/discuss/u/schaudhury)\
**Post date:** [September 20, 2024, 12:15pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/13 "2024-09-20T12:15:01Z")

</div>

@Arun-Kumar thanks for the solution, the approval request is getting generated

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [November 19, 2024, 12:15pm UTC](https://developer.sailpoint.com/discuss/t/implement-approval-process-for-batch-access-request/81888/14 "2024-11-19T12:15:50Z")

</div>

Closed on November 19, 2024, 12:15pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
