You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Conditional Mapping in Rest API URL Params

Accepted answer
40
Views
3
Comments
edited Nov 28, 2019 12:23PM in Visual Builder 3 comments

Summary

Conditional Mapping in VBCS

Content

Hi Team,

I am trying to pass the conditional value in REST API URL Params Mapping.

Can you please let me know how can I achieve this or provide syntax.

below is the condition, which I am trying to achieve.

if($page.variables.ChequeNumber == "undefined")
{
  "{checkno}"
}else{
  $page.variables.ChequeNumber
}

 

attaching the screenshot for more info.

Thanks,

Nazeer.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!