I’m currently in the AD connector rule for afterCreate and afterModify. If the transaction fails, I need to acknowledge to IDN that it was unsuccessful and mark the request as failed instead of successful.
Is there an API to mark requests has failed or a way to acknowledge IDN about exceptions?
I have an additional script file in IQServer that is invoked inside the connector rule with the Invoke-Expression cmdlet. Although this cmdlet does not return the exception message, there are methods to capture the lastExitCode in PowerShell. In general, my main concern was locating $resultObject.Messages.add("Error!"); as it holds more significance, I can play with other things now. Thanks!. I