XML Atributes Variables - Error Create Account - Webservice SOAP

I have a problem submitting a SOAP webservice type account creation in IdentityNow. In the events I was able to make sure that the variable values are visible correctly, but the application responds stating that the request did not receive the variable values of the attributes.
The correct way to create an account using variables in the XML body would be the format “$plan.atributeName$” for each attribute?
example:

<web:DSC_LOGIN>$plan.userid$</web:DSC_LOGIN>
<web:DSC_NAME>$plan.displayName$</web:DSC_NAME>
<web:DSC_EMAIL>$plan.email$</web:DSC_EMAIL>

I made another test request informing test values of the variables in the body of the request in clear text, and the defined values were correctly filled in and the account was created normally.

Hi @HCruz

Welcome to SailPoint developer community.

Yes that is correct. But for an attribute that you set as AccountID in schema, you need to pass it as $plan.nativeIdentity$ and try again.

Thanks
Krish

seems ok for me. I pass the values as

<UserIdentifier>$plan.EmailAddress$</UserIdentifier>            
<FullName>$plan.Name$</FullName>

I can see in CCG log it has the values expecting.

Obviously make sure in your Provisioning Policy you are passing your variables into your provisioning plan.

GET /beta/sources/:source_id/provisioning-policies

[
    {
        "name": "Create Account PP",
        "description": "Create Account Provisioning Policy",
        "usageType": "CREATE",
        "fields": [
            {
                "name": "EmailAddress",
...etc...

HI @MVKR7T Thanks for the answer, there is another field in which I pass an AccountID attribute, I tested using $plan.nativeIdentity$ in this attribute, but I had the same result, I am looking for the logs of the target application.

Hi @jrossicare Thanks for the answer, I had already created the provisioning policy for this type and added the identity attributes. I’ll get the CGG and application logs.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.