Skip to main content

StringBuffer-Append method

Suggest edit
Updated on March 16, 2022

Use this method to manipulate local variables of type String Buffer for the current activity that are contained in a Java StringBuffer object. This method appends a text string to the current contents of the buffer.

Local variables are defined on the Parameters tab of the Activity form.

Parameters

This method accepts an array of one or more variable names and values.

ParameterDescription
BufferIdentify the name of a local variable.
ValueEnter an expression (such as a literal value, a property reference, a linked property reference, or a function call) the produces a text value to append.

Results

The text string entered in the Value column is appended to any existing text in the StringBuffer, and associated with the name you supplied in the Buffer column.

Checking the method status

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

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

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