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
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.