WorkflowDueDateProvider.resolveNonUser Method [AX 2012]

Resolves a time span (in minutes) to an actual date, considering the calendar token.

public WorkflowDateTime resolveNonUser(
    WorkflowContext _context, 
    WorkflowCalendarToken _calendarToken, 
    WorkflowTimeSpanMinutes _timeSpanMinutes)

Run On

Called

Parameters

_context
Type: WorkflowContext Class
An instance of a WorkflowContext class. This class contains information about the workflow instance.
_calendarToken
Type: WorkflowCalendarToken Extended Data Type
The target calendar token that was selected when the due date was configured in the workflow configuration UI.
_timeSpanMinutes
Type: WorkflowTimeSpanMinutes Extended Data Type
The time span (represented in minutes) that was configured in the workflow configuration UI.

Return Value

Type: WorkflowDateTime Extended Data Type
An utcDateTime value that represents the due date in Universal Coordinated Time.

This method is invoked during due date calculation for workflow task or workflow approval maximum times.

Community Additions

ADD
Show: