Open NBIX-Matt-DeWall opened 3 months ago
This issue has been mentioned on SailPoint Developer Community. There might be relevant details there:
Hi @jordan-violet-sp - yes thank you. That's was where I found my resolution. The official docs are just not even in the same ballpark, which is why I had to go searching in the dev forums. This is a request to help others. :) Thanks!
This page https://developer.identitysoon.com/idn/docs/rules/connector-rules/before-and-after-rule-operations suggests that the rule setup and payload for connector rules follow an XML structure like so...
However, the actual payload to the API is not even close. The XML stuff is converted to attributes, the script is in its own block. This is so not clear and luckily I discovered it on the developer forum here: https://developer.sailpoint.com/discuss/t/error-executing-after-modify-ad-rule-after-script-returned-non-zero-exit-code-255/67381
Please update this documentation, the XML stuff appears to be a big holdover from the IdentityIQ product and just set 4 hours of time on fire trying to wade through error messages, debug logs, and forums trying to figure out what was wrong when I was following the documentation.