Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Is Contains Condition for IF Action Possible? — 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

Is Contains Condition for IF Action Possible?

Accepted answer
22
Views
3
Comments

Summary:

Is Contains condition for IF Action possible?

Content (required):

I am writing a code which compares a variable if it is contained in the other variables. Is contains condition possible for expression editor. Currently using the $co but it shows a error that it is not defined.

Also, I would like to have a reference or documentation for possible operations for the expression editor in Visual Builder

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

22.10.1

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

    "if": {

      "module": "vb/action/builtin/ifAction",

      "parameters": {

        "condition": "[[ $page.variables.SearchVar $co ($page.variables.AccountName || $page.variables.ContactName) ]]"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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