We have implemented the following job chain to enforce the account creation order in different target systems.
Problem is that, when the chain executes, if there are no Office365 accounts to be provisioned the second provisioning job does not get executed.
How can we solve it? Both are multithreaded WSRETRYJOB.
1) If you are using Endpoint based selection for WSRETRY Job, Try switching to Advanced Config - Query based WSRETRY JOB for Office365AccountProvisioning & OktaAccountProvisioning Triggers
2) To the maximum possible extent, recommend not to put the Provisioning triggers in the Trigger chain to get a better performance. And Worst case if you still want to use it, Add your Provisioning Trigger as last entry in your trigger chain.
If it is possible to re-design, then try it in such a way to use a single separate Provisioning trigger, which will pick up only these two endpoints and setup a schedule for this.
Feel free to try out the recommendation and keep us posted.
Thank you, I will try the first suggested option.
Yes, we can possibly re-design the jobs to use a single provisioning trigger but I would still need to enforce the provisioning order on an endpoint-basis. Is it possible to do so with a single job? If yes, how?
Unfortunately using the advanced config, and then filtering the respective endpoints and task types there, did not solve the issue.
Are there other options to make the triggers work while still enforcing the provisioning order on an endpoint-basis?
yes, exactly, we have a dependency between two target applications that requires accounts to be created in a strict order (I'm aware this is not optimal, it's something we want to manage directly in Saviynt but that's not happening anytime soon).