WorkflowDueDateProvider.resolve Method [AX 2012]

Resolves a time span, in minutes, to an actual date, that considers the calendar token and the user ID, if it is required.

public WorkflowDateTime resolve(
    WorkflowContext _context, 
    WorkflowCalendarToken _calendarToken, 
    WorkflowTimeSpanMinutes _timeSpanMinutes, 
    WorkflowUser userId)

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 that is represented in minutes that was configured in the workflow configuration UI.
userId
Type: WorkflowUser Extended Data Type
The target user of the due date resolution. This will be important if the provider performs a resolution that is based on a user or employee calendar instead of the company calendar.

Return Value

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

This method is invoked during due date calculation for a work item assignment.

Show: