Skip to main content


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

clearTransientData(transientItemID)

Updated on July 20, 2021

Deletes the data stored in a transient item.

Returns

Not applicable.

Parameters

NameTypeDescriptionRequired
transientItemIDstringThe ID of the transient item containing the data to be deleted.

Usage example

In this example, consider the value of the data in the transient item to be {Name: 'James Bond', department: {id: '007', type: 'agent'}}. After the clearTransientData API is called, the data stored in the transient item is {Name: '', department: {id: '', type: ''}}.

PCore.getContainerUtils().clearTransientData('app/primary_1/workarea_1/transientItem_1');

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