Retry Option for SAP Direct

HI All,

Want to apply a retry mechanism for a application that is based on SAP direct connector in IIQ, as we are experiencing failures of deprovisioning due to timeout.]

SO Is there any way to do that. Also do this connector support retry?

IIQ version: 8.2

@Amsingh1

``` Please find the answer below. You may also refer to the URL provided, and if you find it helpful, kindly mark it as the solution so it can benefit others as well
==========================
Provisioning fails with either a Locked by user error or a connection reset error.
Resolution: To configure retry mechanism in the SAP Direct connector, ensure to add the following entry key using the REST API:
In the body of the POST, set form-data values as follows:
Key:retryWaitTime Value:30
Key:maxRetryCount Value:3
Key:retryableErrors Value:[error messages]
where, retryWaitTime is in seconds. The default value of retryWaitTime is 5 sec. The default value of maxRetryCount is 3.
===========================`````````

https://documentation.sailpoint.com/connectors/sap/direct/help/integrating_sap_direct_source/troubleshooting.html

Hi .
Please have a look at the documentation below:

Hi @Amsingh1 ,

Add the following entry to the SAP application XML via the debug page. The application will attempt three retries with a 30-second interval. Ensure to replace the error messages with the actual error, such as ‘Timeout’.

<entry key="retryWaitTime" value=“30”>
<entry key="maxRetryCount" value="3">
<entry key="retryableErrors">
    <value>
        <List>
            <String>error msgs</String>
        </List>
    </value>
</entry>

Yes I used the same in application XMl but for a request i can see that the retries are showing 0.

SO for testing purpose i changed config for some application and test connection failed and i took that error message and put under the error messages in retry block and raised one request for a user and it got failed and in the request it shows 0 retries. So any idea about it

Here is the application xml snapsht

Hi @Amsingh1,
only give “server is DOWN or connection parameters are incorrect” dont give the whole text and “connect to SAP gateway failed” is fine to add in retryable errors.

make the test connection failed or ask the SAP team to make the system down if its non prod environment and test this, retry should happen.

please check again.

Thank you i tried and retry happened, however the retry is getting repeated i.e. the retry count reached 36 even though i have given max retry count as 3.below is the screenshot

Can you suggest

Hi @Amsingh1
You should use the below entries

entry key=“provisioningMaxRetries” value=number

entry key=“provisioningRetryThreshold” value=number

provisioningMaxRetries - The maximum number of times - a failed provisioning action will be retried.

provisioningRetryThreshold - The time interval (in minutes) between each retry attempt

Check and let me know if any issues.

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