Value entered on text field is lost when click on save button and again opening case.

  1. Entered data in text field and clicked save button , screen refresh but the data is still present.

2.But the data is lost if again opening the case at later point of time.

3.My requirement is that I want to persist the data in text field even after opening the case at later point of time.

Hi @SiddharthKumarG

That may be due to, while closing the case, user might have discarded the Work Object changes.

Can you click on save and then close the case and reopen the case..?

Or

you can also configure event actions on field as: On Change - Post Value.?

@NagaSaiJ Yes , clicked on Save and screen refreshes , data is still there but on closing the case (nothing pop up to ask about discard the changes)and the case is closed.But the data is absent from text field on again opening the case.

@SiddharthKumarG

Make sure below things are happening to make it work .

  1. Make sure On change for the property field , you have defined accordingly .If it has no dependency with any other fields , you can have simply have OnChange-PostValue

This will make sure value is posted to temporary memory .

  1. If you are closing the case with custom Close/Cancel button make sure you have configured the OnClick-CancelWorkitem or which ever appropriate.

Also there is an option to close the case from the cross mark , which is OOTB.

Now when there are any uncommitted changes on the screen .(Value saved to temporary memory and not committed)

Pega shows the pop up to save and close.

Let me know if any other details you need.

@ArshadPashaMohammed thanks for the information, got your point and its working fine now.