Support Article

Save operation for pxEventStore in Activity gives compile errors



While trying to use the save operation for pxEventStore dataset in an activity, following exception is observed: 

Error Messages

Test compilation failed: ----------
1. ERROR in \ (at line 449)
int ttl = 0;op.insertWithTimeToLive(ttl, toSave).await(tools);
The method insertWithTimeToLive(int, ClipboardPage) is undefined for the type EventStoreSaveOperation

Steps to Reproduce

1. Create an activity.
2. Use the DataSet-Execute method and provide pxEventStore as the dataset name and "Save" as the operation type.
3. Observe a similar error even when using the "Save a lit of pages defined in named page" checkbox is checked

Root Cause

A defect in Pegasystems’ code or rules.


Remove the generateSaveCode overridden method. The incorrect class or method gets assigned from here.

Apply Hfix-29918. 

Published November 21, 2016 - Updated December 7, 2016

Have a question? Get answers now.

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