Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

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!