ServiceFunctionsGetValidDeadline Method

Scanjour Workflow4 Reference Manual
Returns provided deadline if in future, or DateTime.MinValue

Namespace:  Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.0.1.0 (in Scanjour.Workflow4.ActivityLibrary_19.0.1.0.dll) Version: 19.0.1.0 (19.0.1.0)
Syntax

public static DateTime GetValidDeadline(
	DateTime deadline,
	DateTime now
)

Parameters

deadline
Type: SystemDateTime
deadline parameter to validate
now
Type: SystemDateTime
current date

Return Value

Type: DateTime
deadline if in the future, otherwise DateTime.MinValue
See Also

Reference