Skip to main content


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

StringBuffer-Reset method

Updated on August 10, 2022

Use this method to clear a local variable of type String Buffer of an activity, setting its value in the Java StringBuffer to the null string. Local variables are defined on the Parameters tab of the activity form.

Parameters

This method has one required parameter.

ParameterDescription
BufferIdentify the local variable to be reset.

Results

The system updates the Java StringBuffer object to associate the empty string with the named local variable.

Checking the method status

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

Methods and instructions by function

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