Webservice connector body IfElse Logic

Hi Team,

I am working on a webservice connector where in body of create account i want to do a validation to check if the attribute is null then value should be “” else actual value.
How can we do that i tried below logic but it did not work:
${plan.approvalLimit==null?‘’:plan.approvalLimit}$

I like your thinking, it doesn’t work like that.

  1. In your create account provisioning policy form, for this attribute use a FirstValid Transform, if it is null then empty string will be returned.
  2. If an attribute is null then it will not be included in request body, you can use WebService Before Operation Rule to add if value is missing.