we have a requirement to modify the existing workflow for the use case below:
If the role is requested by the Manager himself or role owner for their employees , the 1st level approval is redundant and to be skipped, in other words to validate request the request and skip the approval step.
If you’re using an interactive trigger for this, you can include a “Compare String” operator before the approval step.
Comparison:
launchedBy.id
equals
the recipient ID provided in the form data input.
if this not the flow , help me understand the flow of the role request
Thank you for your response . Is possible to elaborate a bit about interactive trigger?
Interactive Trigger is used to initiate a workflow (a defined sequence of operations) when a launcher is activated.
Think of it as a manual trigger—when a specific action, like clicking a button or launching a form, occurs, it starts the associated workflow.
Interactive Triggers are commonly used in access request flows that are submitted through forms.
You mentioned that you’re modifying an existing workflow. Could you please share the trigger type and the overall flow of the workflow? This would help in better understanding your use case.
Hi Sam,
You can use this API: set-access-request-config | SailPoint Developer Community to update the configuration
Use the API to update “autoApprovalEnabled”. This will change the default behaviour for all requests so that if the requester and the approver are the same, the approval will be auto-approved.
Note this will only handle the use case for if the approver is the requestor - not the role owner.
Thanks,
Margo
I was informed that the source form is from service now, the request for a role is initiated from service now and the first level approvals are managed in ServiceNow
Thank you for your inputs.