Skip to main content
About the Resource Center

Apply an action map to specific webpages

Apply an action map to webpages

When you create an action map that uses a web action, you can define an expression that determines on which webpages the action map should or should not trigger. The expression includes one or more operators, a corresponding operand, and one or more conditions. After you define the expression, verify that the expression is valid.

About conditions

You can add as many conditions as you need. For OR conditions, the action map triggers when either condition is true. For AND conditions, the action map triggers when both conditions are true.

As you define conditions, Genesys Predictive Engagement checks for syntax errors, including a valid protocol, spaces and extra special characters. If there are syntax errors, Genesys Predictive Engagement displays an error message. For more information, see the notes for the operator that you are using.

Note:
  • If the action map isn’t working as expected, check your URL conditions.
  • To remove a condition, rest your mouse on it and then click the x that appears.

Verify that the expression is valid

After you define an expression, ensure that the expression is valid for all the webpages that you specified. Expressions are not case-sensitive.

Note: If you see, “No” when you check a webpage, it means that the URL doesn’t match the specified conditions. Check your expression:
  • If you are using the equals, or not equals operators, ensure that you specified a full URL.
  • If you are using the equalsnot equals, or starts with operators, ensure that you specified the protocol.

Operators for URL conditions

Note:
  • Separate a list of values with commas
  • Available operators depend on the object type that you are configuring.
OperatorAction map triggers when the page URL…Comments
contains allContains all the words that you specify. Separate a list of values with commaswelcome,insurance,page
contains anyContains one or more words that you specify. Separate a list of values with commasinsurance,car,plan
does not contain allDoes not contain all the words that you specify. Separate a list of values with commasbank,tax,account
does not contain anyDoes not contain any of the words that you specify. Separate a list of values with commasbank,health,life
equalsMatches the full URL that you specify exactly, including case.Specify the full URL, including the protocol; either “http:” or “https:”.

If you define an equals condition, you cannot define an AND condition.

Correct:

  • equals http://abc.com OR http://def.com OR https://xyz.com

Incorrect:

  • equals abc.com OR def.com
  • equals abc.com AND equals xyz.com
not equalsDoes not match the full URL exactly as you specify, including caseSpecify the full URL, including the protocol; either “http:” or “https:”.

If you define a not equals condition, you cannot define an AND condition.

Correct:

  • not equals http://abc.com OR http://def.com OR https://xyz.com<br />

Incorrect:

  • equals abc.com OR def.com
  • equals abc.com AND equals xyz.com
starts withMatches the words that you specify, starting from the beginning of the string, up to and including the last character in the stringUse this operator when your URLs are generally unvarying but can include query string parameters at the end that you want to exclude.

Specify the protocol; either “http:” or “https:”. You can have one starts with or one ends with operator per condition.

Correct:

Incorrect:

  • starts with abc.com OR xyz.com AND starts with abc.com OR xyz.com
ends withMatches the words that you specify, starting from the end of the string, up to and including the first character in the stringUse this operator when you want to match a specific query string parameter at the end of the URL.

For example, you can match shopping cart pages with URLs that end with “/thankyou.html”.

You can have one ends with operator per condition.