Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Business calendar : Calculating the due date : Pre-script in workstep due date
 

Pre-script in workstep due date

The workstep instance due date available in the pre-script is the due date based on the system calendar. Since the pre script can modify the dataslot value used as the performer, the due date cannot be based on the performer before pre-script execution.
Once the pre-script is executed, BP Server updates the workstep instance due date appropriately based on the calendar of the performer if it happens to be a single Group.
* Updating due date in pre-script
* Retrieving due date in pre-script