Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

When creating your new class, you must declare both the class and the method as global so that the ContactWorld managed package can access the class and invoke the method.

To get the outboundNumber from the context, use an Apex JSON parser as in the  getOutboundNumberFromJson method in our example. Future releases of ContactWorld may add some extra attributes to the context, so if use any other method to get the outboundNumber (such as regular expressions or string splitting), your class may stop working.

When you have created your class, you must ensure that ContactWorld uses the class. For information about configuring the class that ContactWorld uses to automate call recording, see Configuring custom settings for optional ContactWorld Vonage Contact Center features in Salesforce.

ContactWorld uses the value of the returned String object to determine whether or not to record the call:

...