There are situations where the values of certain fields need to be validated against specific Regular Expressions. This is where this Cloud App comes into play. With CO Regex Cloud App, It takes the value from a field in a Custom Object and applies a Regex expression, and then the result(s) goes to another selected Custom Object field(s). This Cloud App can validate a Regular expression, can split a field value into multiple fields based on Regular expression and also this can transform the value of a field based on Regular transform expression.
- Validation: The app can validate If a particular field has to meet certain format, in that case you have to select the “Validate” option in the “Regular Expression Type” and select one field, which will be updated the True or False values when a record is processed. For example the following regular expression validates that a text has the format of an email address: /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i
- Split: The app can take the value from a field and split it into multiple fields using a Regular Expression. For example, for a field value like “10 VPs, 20 Directors, 40 SMEs.” If we need to split based on the digits with the following expression \D+: The result will be:
- 10 VPs
- 20 Directors
- 40 SMEs
- Transform: The app allows you to transform the value of a field and executes a Regex transformation. For example with the following regular expression: .*(\snot).* if the field value is “My network does not work.” The result will be ” not”
Regex examples – https://medium.com/factory-mind/regex-tutorial-a-simple-cheatsheet-by-examples-649dc1c3f285
This document will show how this Cloud action can be used inside CO Based Program Canvas.
Please follow these instructions to set-up this cloud action in your Oracle Eloqua instance.
Please follow these instructions to set up this cloud app in your Oracle Eloqua instance.
- Log in to Oracle Eloqua.
- Click on Get App below to install.
- Click the pencil icon to open the settings for this step.
You will need a user to log in and configure this Cloud Action. If you don’t have one, you can create one. If you do, use your user to Log In in the page shown in the following screenshot:
- Select Source field which needs to be transformed.
- Check option Transform from the Regular Expression Type.
- Write the Transform Regular expression in the Regular Expression String.
- When using the Transform expression type the Expression string must contain two lines:
The first line defines the matching elements.
The second line defines the output format.
This is an example of a phone formatter: (\d{3})(\d{3})(\d{4})
($1) $2-$3
There is no need to use a delimiter.
- Select destination field to store results and click on the Save Settings.
- Make sure you click on ‘Save Settings’ to save your configuration. If you make any changes you can click on ‘Revert Changes’ to go back to the last saved configuration.
- Logs Tab: This section shows the execution logs for the cloud app
That’s all. Activate the campaign or program, put some records in it and see the CO Regex in action!
Note: Most 4Thought Marketing apps use the Eloqua BULK API to export/import records, therefore when an app is used in a campaign or program the user that activates the campaign should have the following permissions:
- API
- Contacts
- Upload Contacts/Prospects/Companies
- Manage Data Export
- Manage Contacts
You need a license to configure and execute this Cloud App. If you don’t have a license, an error message will appear on the configuration page.
If you don’t see CO Records being processed by the app, it may be because your license is missing or expired. To obtain a license, contact your account manager or contact us.
- Each Eloqua instance requires a separate cloud app license.
- Each cloud app license includes a reasonable usage limitation of 250k records processed daily and up to 5 app instantiations per Eloqua instance. Higher usage tiers are available at extra cost.
- For additional license details, please review the Cloud Services User License Agreement.