Approval Workitem "approve" button is pre selected for the approver

Which IIQ version are you inquiring about?

8.3p3

Please share any images or screenshots, if relevant.

Share all details about your problem, including any error messages you may have received.

When we are trying to submit a request using Manage Access for a role on behalf of some user the approval workitem shows the “Approve” button preselected to the approver. How do we remove the pre selection.

check if this helps
https://community.sailpoint.com/t5/IdentityIQ-Forum/Approve-Button-by-default-selected/m-p/126897

2 Likes

Tried this, did not work.

@vishal_kejriwal1, it actually did work, but we had to remove the script shown below from the “Approve and Provision workflow”.

<Arg name="clearApprovalDecisions" value="script:(!isNull(approvalSplitPoint) &amp;&amp; csvToList(approvalScheme).contains(approvalSplitPoint))"/>

For some reason even though set the clearApprovalDecisions variable as below in our “provisioning approval Sub process” it still wasnt getting the correct value in the step of this workflow.

<Variable initializer="true" name="clearApprovalDecisions">

However, now we came across another issue since we clearApprovalDecisions to true.

We have an approval assignment rule which returns a list of approval objects based on various calculations of multilevel approvals. The problem here is that when we are sending approval objects which have all been marked as rejected, it still goes and ignores the decisions sent from the approval assignment rule and creates a workitem for the first level approver instead of cancelling the request.

However, when we revert the changes made for clearApprovalDecisions we made earlier for the “approve” button showing preselected everything starts working fine and the request is cancelled based on the list of approval objects returned from approval assignment rule.

Bumping the thread, Anyone?