Getting deadline for Distribution phase
Namespace: Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly: Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax
public static DateTime GetDistributionDeadline( DateTime currentDate, DateTime deadline )
Parameters
- currentDate
- Type: SystemDateTime
Now - deadline
- Type: SystemDateTime
The main process deadline
Return Value
Type: DateTimeReturns DateTime.MinValue if deadline is less than 3 hours, otherwise currentDate + 3 hours
See Also