connectorAfterCreate rule problem

:bangbang: Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.

Please consider addressing the following when creating your topic:

When you say some script not running, which part of script is not running? does it not run for all accounts or only for few accounts? Did you create the account simultaneously?

Please give more details about your process to get the clarity of the issue.

1.which part of script is not running?myConnectorAfterCreateRule

2.does it not run for all accounts or only for few accounts?only 2 accounts not create

3.Did you create the account simultaneously?Yes

I assuming the request processed in SailPoint, it could be due to the PS script running simultaneously and the thread is busy with other requests, hence it randomly missing few requests or it may execute the rule but not logging the statement in the log file. Add some wait time (Start-Sleep) in the PS script which allows the script to get accept all the requests.

hope this helps.

Another suggestion - if you have loggers, your log file could be locked by one process for one account which prevents logging to the file for the other accounts and can cause your script to not run end to end. Try expanding the logger to ss/ms etc. and see if that resolves your issue. As an example, $logDate = Get-Date -UFormat “%y%M%d%h%m%s”

Hi Margo, @suresh4iam
I create web service and can create 100 accounts successfully.The web service only process the exchange module.I encounter another question is the web service state become blocked sometimes.I use Start-Job to launch web service.

the attachment name “PowerShellWebService(1).ps1“ is web service code.
the attachment name “Start-Job.png“ is the method I launch web service.
the attachemnt name “webServiceBlocked.png“ is the Job Stop

PowerShellWebService(1).ps1 (4.6 KB)

Could you initiate another discussion for this issue? It helps to focus on an issue what you have originally reported and also helps others to find the solution for the same in future.

1 Like

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