ServiceFunctionsGetValidDeadline Method

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

Namespace:  Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.3.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.3.0.0.dll) Version: 23.3.0.0 (23.3.0.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