For reference, How to set a custom attribute in ForgeRock Identity Cloud using Scripted Decision Node?