We’re working on developing an AttributeGenerator rule for a unique samAccountName calculation. We’ve run the “Rule Validator” against it with no issues and submitted it twice for “review/deployment” but both times came back with “Failed due to syntax error” with basically just a vague line number reference that isn’t very helpful (i.e. this particular line appears fine).
Curious if anyone has recommendations for checking rules for syntax type issues?
When I’m writing rules for IdentityNow I use jshell a lot as a sanity check or mini proof of concept. It can be painful at times to translate back and forth from Beanshell to Java, but it’s a handy validator.
If you have access to a sandbox instance of IIQ, you can usually translate rules to run in an IIQ context and test them on an iiq console. I do that a lot too. That’s not perfect either, but it helps to increase the confidence level before submitted cloud rules for review/deployment.
@briane_bullock - I was able to work with our IIQ team and they were able to make a couple of minor changes to the rule to at least confirm the syntax and basic functionality so thank you for confirming that option. Not great - but somewhat workable.