What's new in Customer Journeys?

Connect and learn more!
How to assign a value in Expression language to binding variable — Cloud Customer Connect
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

How to assign a value in Expression language to binding variable

Received Response
307
Views
1
Comments

Summary:

How to assign a value in Expression language to binding variable

Content (required):

I have a requirement that based on the expense type selected I need to default Amount for it. For this I am using page composer and trying below expression, but it is not working. Kindly let me know how it can be corrected.

#{bindings.ReceiptAmount.inputValue = (bindings.ExpenseTypeName.inputValue == 'Airfare') ? 10.00 : bindings.ReceiptAmount.inputValue}

Version (include the version you are using, if applicable):

22D

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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