We have two Task Servers and two UI servers. We have exposed APIs in SailPoint IIQ that are invoked by ServiceNow. When the API is called, a workflow is launched on one of the UI server. The first step runs immediately on the UI server, and then the workflow transitions to a background step:
@r_pragati, How many task results are generated when calling the SailPoint API? Is it one or three task results that are generated? You can check in the task result how many times it’s hitting SNOW. However, we have a similar implementation. I hope you can distribute the load across the UI servers and the Task server by enabling and disabling the system configuration. You can check the system configuration in the Administrator console, the UI server and the Task server both have enabled Request and Task flags, which will distribute the load across the servers.
Sure, it’s hitting the workflow only once since the task result is once. May I know the reason why you use the background=" flag in the starting step? Is there any business test case you are handling? If not, that would be the culprit to run this step on other servers. If you are not handling any business case based on the background=“true” flag, I would suggest that you remove the background=“true” and try it. Workflow steps will not switch between the servers. you can track in Task results too
This workflow is invoked via API and we dont want to overload the UI servers, thats why we have background=“true”.
We are unable to reproduce the issue again.
This issue was one-off occurrence and did not occur again. Since the API and workflow have been working seamlessly for more than a year, I am trying to find the RCA.