Run a Regular Expression from an Application

To run a regular expression from an application, do the procedure in this topic.

Figure: Regular Expression screen

Regular Expression screen

Good to Know

  • In most text fields, you can use process data variables as an alternative to literal data values.
  • You can configure whether this activity waits for other activities before it runs.

    For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?

  • Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation, and it is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business uses cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, and other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

How to Start

  1. On the Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Utilities Utilities icon tab.
      2. On the Utilities Utilities icon tab, drag the Regular Expression Regular Expression icon activity onto your process.
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click Regular Expression Regular Expression icon.

Procedure

  1. On the Regular Expression screen, in the Regular Expression field, enter a regular expression.

    You can use one or more process data variables from the Process Data screen.

  2. In the Perform Regex Match on below text field, enter the text to evaluate with the regular expression.

    You can enter one or more lines of text. This text can include one more process data variables from the Process Data screen.

  3. To verify if the regular expression that you specify in the Regex Syntax field is correct, click Validate Regex Syntax.

    You can not use this button if you use process data variable in the Regex Syntax field.

  4. To connect the Match Result parameter to your schema, complete this field as necessary:
Field Name Definition

Match Result

Function:
Specifies the connection from the Match Result parameter to your schema.
Accepted Values:
Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

Use this screen to connect the result of the match to the data model for your process.

The data type for the schema node must match the data type for the match result. For example, if the match can have more than one result, the mapped schema node must be repeating.

Default Value:
None
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation, and it is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business uses cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, and other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?