Detecting last page of a publication in EngageOne Designer

Software Affected: EngageOne Designer
Product Feature: Publication Editor
Versions affected: All 5.x & 6.x versions
In the EngageOne Designer, it is not known when the last page occurs until processing has finished, and the order of processing means that the footer logic in the page setup is executed before the document logic.

Order of processing is as follows.  This cycle repeats until the document is complete
  1. Background
  2. Page header\footer
  3. Start of page
  4. Document logic
  5. End of page
To perform processing on the last page, use post processing software to accomplish this.
UPDATED:  June 7, 2018