Design Guidance Required for Multi Application Provisioning and Error Handling

Which IIQ version are you inquiring about?

8.4 P3

Please share any images or screenshots, if relevant.

[Please insert images here, otherwise delete this section]

Please share any other relevant files that may be required (for example, logs).

[Please insert files here, otherwise delete this section]

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

Hi Team,

We have five types of applications in our environment:

- AD

- LDAP

- App A – Asynchronous Web Service application

- App B – Web Application

- Manual Work Item / ServiceNow – For handling disconnected applications

Given this setup, what would be the recommended approach for implementing provisioning logic β€” Provisioning Rules or Provisioning Workflows?

We have some complex provisioning scenarios that require:

- Rollback in case of failures

- Retry mechanisms for transient failures

- Wait states where the process needs to pause and resume

- Sequential provisioning, where a manual approval/work item should only be initiated after the automated provisioning steps are successfully completed

- Handling dependencies between multiple applications and provisioning steps

For example, in some cases, provisioning to AD/LDAP/App A/App B needs to complete successfully before creating a ServiceNow work item for the disconnected application. If any automated step fails, we may need to retry or roll back the previous successful provisioning actions.

Considering these requirements, would it be better to implement the orchestration using a Provisioning Workflow, with rules handling application-specific logic, or should most of the logic be implemented within a Provisioning Rule?

What would be the recommended SailPoint architecture/design pattern for this type of scenario, particularly from the perspective of maintainability, error handling, retries, rollback, wait states, and scalability?

@Deepamv77 One Question: For App A and App B, what does β€œfailure” actually look like a hard connector error, or a business rejection?

Hi @kannan_sb85 ,

For both App A and App B, the provisioning process is asynchronous.

In the first API request, we receive a Resource ID as the response. We then need to make a second API request using that Resource ID to retrieve the provisioning status.

The second API response will indicate whether the provisioning has completed successfully or failed.

Therefore, a failure in this context is determined by the status returned from the second API request, rather than being limited to a hard connector/API error. We may need to poll the status until we receive a final Completed/Failed status.

Your requirement that the manual/disconnected step only executes after the automated steps succeed is a perfectly natural workflow: Provision (connected apps) β†’ evaluate ProvisioningResult per item β†’ conditional step β†’ Provision (disconnected/manual).

For the ServiceNow side in particular, prefer the Service Desk Integration Module over a vanilla manual work item: it creates and poll the actual ticket and closes the IdentityRequest item on its closure, giving you true status tracking rather than a IIQ work item someone has to check off manually and correlate with a ticket they have not associated.

Recommended

  1. Custom copy of the LCM Provisioning workflow (never edit OOTB one) as your orchestrator
  2. Native Application Dependencies for straightforward ordering
  3. Native connector retry for transient failures; Perform Maintenance re-drives them
  4. Per App Before/After Provisioning rules for attribute shaping only no orchestration, no sequencing
  5. Explicit workflow branch per failure mode β†’ notify + exception work item, with compensating actions only where the business actually wants them
  6. SDIM for ServiceNow rather than raw manual work items

Important note that, Workflow heavy designs create a lot of WorkflowCase and TaskResult objects. Make sure you keep a pruning/maintenance schedule, and mark workflows as transient where you do not need the persisted case. Also, implement per App logic as subprocesses, not as a monolithic workflow.