Jump to: navigation, search

Exception Patterns

Genesys Callback allows implementing patterns to be checked before performing the callback attempt. The Patterns tab enables you to configure exceptions; for example, phone numbers. You can define as many patterns as you wish, then add them to your Callback services.

Customer Phone Numbers

For the _customer_number parameter used in Callback, note that the system internally adds a + sign to the phone number by default. As a result, if _customer_number=12345678901, it will become _customer_number=+12345678901 in the system before going through the processing of the patterns exception. So, to define patterns exception for specific phone numbers, you need to add the + sign at the start of your pattern exception, for example:

[cb_errors]
12345678901=\+12345678901


Create a Pattern Group

1

Navigate to Services and Tools > Tools > Patterns. Click Add to define a new group of patterns. Enter a name.

Create an Exception Pattern

1

Select a group. Then, in this group, click Add New to create as many patterns than you need.

Test your Exception Pattern

1

Select a group. You can test the value of a pattern against this entire group. Type a value in the input field, and if a match is found, the corresponding table row will be highlighted.

Add the Pattern Group to your Callback Service

1

Navigate to Services and Tools > Services and expand your Callback service. In the General section, set the name of your Pattern Group as the value of the _exceptions parameter.

How to get Help about Supported Patterns?

1

Click the Help button to get more information about the supported patterns. For additional details, refer to Oracle Java Lesson: Regular Expressions.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on June 28, 2018, at 05:49.