Passing __NAME__ to CreationScript.groovy for Scripted REST integration

When building a Scripted Rest connector in Identity Cloud, I am trying to build a functional CreateScript.groovy. According to the OpenICF docs, my understanding is that if I map something to __NAME__ it will show up in the groovy script as id. I’m doing that and id is null, so I’m not sure how to map my username from Identity Cloud to send to the connected application. Am I doing something wrong?

It turns out this was a configuration error on my part. If you don’t check the Createable advanced property in the mapping, it doesn’t show up in the id attribute :man_facepalming:

1 Like