Search

Search:

Namespace:

Search Result
.

TimerEventSubscription item = new TimerEventSubscription(WorkflowInstanceId, DateTime.UtcNow);

.
Summary
The UTC DateTime the next DelayActivity is to be done
.
            if (item.GetWorkflowNextTimerExpiration() < DateTime.UtcNow)
.

The important part if to use the WorkflowInstance GetWorkflowNextTimerExpiration function that returns the DateTime (in UTC) that the next timer expires. If thers is no pending DelayActivity it returns December 31th 9999 23:59:59.

.

A workflow is considered unlocked when the workflow is not blocked and not completed and not terminated and not suspended and the either the ownerID is null or the ownedUntil UTC datetime has expired.

.
                        DateTime.Now.SpanBetween(each.LastModified) 
.
                    case "DateTime":
.
                        parameter.Type = ParameterType.DateTime;