September 8, 2011 9:13:08 AM PDT
Interstage BPM Version: 11.1 and higher
Problem Description:
The node due date is stored in two different locations:
1. As TimerInstance object
2. ActivityInstance.DUEDATEEXPIRETIME
The attached article will explain and demonstrate how to retrieve the due date from the timer instance. One way is to get a handle on the Timer Instance interface and use the getTimerExpirationTime() method to retrieve the due date value. Please note that when using the TimerInstance.Reschedule() to update the due date you will need to use TimerInstance.getTimerExpirationTime() on the latest timer instance in order to retrieve the updated value.
Solution:Please see attached document for code snippet example of how this can be achieved.
Author: Marc Bui
Attachment: How_to_Retrieve_Node_Due_Date_Using_Model_API.zip