Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Business calendar : Calculating the due date : Pre-script in workstep due date : Retrieving due date in pre-script
Retrieving due date in pre-script
Within the pre-script, the following APIs can be used to access the due date:
*var dueDate = jst.getDueDate();
This API gives the present due date of the workstep instance that has been calculated using the system calendar.
*var dueDate = jst.calculateActivityDueDate();
This API calculates and provides the due date based on the group calendar using the current performer information.