Regular Expression activity

An activity that lets you use a regular expression in an application.


Regular Expression activity

Configure the Regular Expression activity

To configure the Regular Expression activity, do the procedure in this topic.

Examples

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.

Procedure

  1. Complete the fields on the General Configuration screen.

    For more information, refer to Configure General Options for a System Activity.

  2. Click Regular Expression Regular Expression icon.
  3. Complete the fields on the Regular Expression screen.

    For more information, refer to Run a Regular Expression from an Application.

  4. (Optional) Click Advanced Advanced icon > E-mail Notifications E-mail Notifications icon.

    For more information, refer to Configure E-mail Notifications for Any Activity.

General Configuration

Specifies the basic settings for the Regular Expression activity.

Figure: General Configuration screen

General Configuration screen

Fields

Field Name Definition

Display Name

Function:
Specifies the activity name that shows in your process.
Accepted Values:
One line of text that can have spaces.
Default Value:
None
Accepts Process Data Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Function:
Specifies an optional text description for your activity.
Accepted Values:
More than one line of text.
Default Value:
None
Accepts Process Data Variables:
No

Regular Expression

Configures a regular expression.

Figure: Regular Expression screen

Regular Expression screen

Fields

Field Name Definition

Regex Syntax

Function:
Specifies the format for your regular expression.
  • The Regular Expression activity uses .NET syntax for regular expressions.

    For more information, refer to Regular Expression Language - Quick Reference.

  • To change the regular expression, double-click Regex Syntex, and change your expression.
Accepted Values:
Default Value:
None
Example:
Refer to:

Perform Regex Match on Below Text

Function:
Lets you specify the text to evaluate with the regular expression.
Accepted Values:
Default Value:
None
Accepts Process Data Variables:
Yes

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?