Attribute Collector Node

Hi there,

I am trying to pre-populate my attribute collector node with the values that I store in a shared state from a scripted decision node. I am trying to do this as part of a registration journey where I get the values like givenName, surname and emails from a API call. However I can fetch the values but cant pre-populate it in the attribute collector to create a user object. Any help would be appreciated. Cheers!

You can use a StringAttributeInputCallback and set the default value that you require

https://backstage.forgerock.com/docs/idcloud/latest/am-authentication/authn-interactive-callbacks.html#StringAttributeInputCallback

Thanks Anish, I think we were trying to troubleshoot the shared state values. It looks like we assigned it directly to a variable rather than objectAttribute. Now the issue is resolved. Thanks for you suggestion.

1 Like