Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Apply-Parse-Delimited method

Updated on August 16, 2022

Use this method to locate and execute a Parse Delimited rule ( Rule-Parse-Delimited rule type). Parse Delimited rules parse character-delimited data into multiple property values on the clipboard.

Parameters

This method has three required parameters:

ParameterDescription
NameSpaceEnter the second key part of a Parse Delimited rule.
RecordTypeEnter the third key part of a Parse Delimited rule.
SourceProperty Identify a property that contains as its value a text string to parse, as input to this parse rule:
  • If the property is on the step page, precede the property name with a period.
  • If this property is on a different page, include the page name in the reference; ensure that this page appears on the Pages & Classes tab of the Activity form.

Results

Parse Delimited rules are identified by a three key parts: the Applies To class, a Namespace value, and a Record Type.

To execute this method, the system:

  1. First forms a key from the class of the step page combined with the Namespace and RecordType parameters to this method. (If the Step Page field for this step on the Activity form is blank, it uses the class that is the Applies To key part of the activity.)
  2. Next, rule resolution retrieves a Parse Delimited rule.
  3. Finally, the system executes the Parse Delimited rule in the current context. The value of the property referenced in the SourceProperty parameter is parsed into other property values, as defined by the Parse Delimited rule.

Checking the method status

This method updates the pxMethodStatus property. See How to test method results using a transition.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us