Can we access the values from the shared state in forgerock and set them into attribute collector using this ${shareState.givenName} in the attributes to collect
field instead just givenName without using scripted decision node. We are trying to find better way to populate the values in attributes.Is it possible way of setting the value into attribute. We are encountering the errors
I don’t think something like this is possible. In the “Attributes to collect”, you should mention the attribute name which forgerock should collect.
However, I don’t quite understand what you’re trying to achieve by taking something from in the shared state and setting it into an attribute?
If it is to use the Patch Node object, then you may need to move the value from shared state to objectAttributes within shared state. But I don’t think there is a way to do this without a scripted node.
1 Like