ServiceFunctionsGetDistributionDeadline Method

Scanjour Workflow4 Reference Manual
Getting deadline for Distribution phase

Namespace:  Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.1.0.0.dll) Version: 23.1.0.0 (23.1.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: DateTime
Returns DateTime.MinValue if deadline is less than 3 hours, otherwise currentDate + 3 hours
See Also

Reference