Using Identity.SetAttribute method via IdentityAttribute rule in IdentityNow

Hi,

Is it possible to use identity.setAttribute method in IdentityNow rule ? I’m trying to set 2 identityAttributes values via single rule.

Identity attributes cannot be set using rule. You can only pass final output from rule which would be set on that specific attribute.

1 Like

Hi, @chirag_patel
Could a rule execution and its return value to be requested via external API call?
I doubt it is possible however I may be wrond.

No this is not possible. Are you trying to test the rule without putting it in enviroment?

Hi Chirag, I tested that we can actually set identityAttribute Value using Identity.setAttribute() method.

1 Like

This might work in your testing but you are not supposed to do it ideally. There are few things in IdentityNow which would work if you try to do them but ideally you should not do that in real use case.

Setting Identity attribute from rule is one of those cases. This might break in future. You can contact SP expert services for more detailed explanation on this.

1 Like

Well I did ask SailPoint Expert Services to review the code before deployment and They mentioned no issues at all. I got what you are saying, do you have document regarding this, I can refer and discuss with Expert Service again ?

1 Like

Hi,
No, I am trying to get an API access to the existing Rules’ return. Rules are being worked with an IDN extended search attribute structure (Search Attribute Configuration | SailPoint Developer Community) that cannot be contacted directly via API.