Only show workflow step once (most recent) in BI Publisher if visited multiple times
Hello!
I'm creating a custom print and displaying the visited workflow steps using <?for-each:workflow_steps?>. If a step (STEP_NAME) is visited more than once (such as when a record is returned for revision) the step is listed each time it is visited. Is there anyway to only show a workflow step once within the for-each based on the most recent STEP_COMPLETION_DATE?
For example, the workflow has a Director step. The Director approves the record, but later in the workflow it's sent back for revision, so the Director approves again when it get's back to the Director step. In the custom print, I only want to display the Director's most recent approval.