Provisioning Policy create form empty value

Which IIQ version are you inquiring about?

Version 8.3

Share all details related to your problem, including any error messages you may have received.

Hello everyone,
So when I am trying to provide a value via script for a certain field in provisioning policy for webservice connector i want to either pass “ADMIN” or “” into provisioning so it will enter the json body as “name”: “Attribute”, “value” : “”, but instead i am getting only “name”:“Attribute” and it’s ignoring the value “” in request. Is there a way to allow empty strings there?
Thank you in Advance.
Best regards,
Błażej

Hi @blazejbadzio,

What are the fields you are having?
Can you help with the snippet that you have written and how you want it to translate it to your expected outcome?

Thanks

Hello @ashutosh08,

I don’t want to share to much detail but field in form is getting something like
field name : license
script:
if( value.equals(“Admin”) )
return “Admin”
else return “”;

and then request body takes values from provisioning plan like so:
{
“name”:“License”,
“value”:“$plan.license$”
}

It works for other fields that are populated but deletes “value”:“” if the string is empty and api rejects the request.

Sailpoint ISC or IIQ cannot send empty or void values to the connector provisioning.

This is not a feature. Unfortunately

2 Likes

Hi @blazejbadzio,

As pointed out by @ipobeidi you cannot pass empty attribute in plan.

Is it an ask from target API to pass the attribute even if it is empty?

Thanks

Hi @blazejbadzio, instead of passing null/empty value. Use the customization rule to set the value if it matches your criteria.

I want to Correct myself and complement my answer “Provisioning Policies can’t send Empty values”

But Attribute sync can.

1 Like

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