function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
imAkashGargimAkashGarg 

Visualforce page crash

I have a Visualforce Page (with a list of records) which has a button 'generate' which on clicked, opens a new Visualforce page (details of the selected records) as PDF.

Now, each time that button is clicked, the status for that record is updated.

 

Sometimes, the page is crashed (i.e. it could not generate the second page- due to reasons like System hang etc).

Now, even if the page is not generated the status is getting updated.

 

Is there a way, by which i can identify a crash and add a condition - to only update when not crashed?

Or, any other suggestion to overcome this problem?

 

Thanks.

Sanch.SSanch.S

try to use the action attribute on the second page. 

imAkashGargimAkashGarg

how is that gonna help?