Skip to main content


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

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

The pyApplication and pyApplicationVersion properties are not captured in the interaction history

Updated on September 10, 2021

When running a data flow run through a service SOAP rule, the pyApplication and pyApplicationVersion properties are not captured in the interaction history. This issue can lead to unexpected data flow results or the interaction history records not being saved.

Cause

This issue is caused by an incorrectly configured strategy rule that is part of the data flow.

Solution

Modify the strategy rule that is part of the data flow to copy properties from the clipboard to the interaction history.

  1. In the Records Explorer, click Decision > Strategy.
  2. Select the strategy rule that you want to edit.
  3. Open the Pages & Classes tab.
  4. Add a page to the strategy rule:
    1. In the Page name field, enter pxThread.
    2. In the Class field, press the Down Arrow key and select Code-Pega-Thread.
    3. Click Save.

      Pages and classes

      Adding the pxThread page in a strategy

  5. Open the Strategy tab.
  6. Right-click the strategy canvas, and then click Enrichment > Set Property.
  7. Place the Set Property shape before the Results shape by dragging the Set Property shape and connecting it to other shapes in the strategy.
  8. Double-click the Set Property shape to open the Set Property Properties panel.
  9. Open the Target tab.
  10. Set the pyApplication property:
    1. Click Add Item.
    2. Add the following expression: Set .pyApplication equal to pxThread.pxCurrentApplicationName
  11. Set the pyApplicationVersion property:
    1. Click Add Item.
    2. Add the following expression: Set .pyApplicationVersion equal to pxThread.pxCurrentApplicationVersion
  12. Click Submit.
  13. Click Save.

Strategy configuration

Setting the pyApplication and pyApplicationVersion properties in a strategy

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