Skip to main content

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.

Support Article

DeleteAttachment call needs SkipHarness parameter set

SA-30201

Summary



The user noticed  an error message in the logs during processing related to an activity that deletes attachments to the work object. The delete is failing and nearly always fails subsequently during show harness.

Error Messages



2016-10-21 12:03:51,261 [ WebContainer : 23] [ STANDARD] [tionOffline:01.02.01] ( internal.mgmt.Executable) ERROR | A2051614 - Missing stream key property pyStreamName
com.pega.pegarules.pub.clipboard.InvalidParameterException: Missing stream key property pyStreamName

Steps to Reproduce



Execute activity step "Call DeleteAttachment" in an activity called by a service.


Root Cause



Activity step methods using "Call Show-Harness" need to have parameter "Purpose" set. In this scenario, the Pega activity DeleteAttachment performs a "Call Show-Harness" as the last step. There is no harness to show if the action is during the process triggered from a service. Therefore, the activity invoking DeleteAttachment should be setting the SkipHarness parameter to true (by checking the box).

Checking SkipHarness sets this parameter to "true".

Resolution



Check the SkipHarness option under Method Parameters.

 
Suggest Edit

Published November 11, 2016 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us