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.

Syntax

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.
  • 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.

Remarks

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

See Also

Reference

WorkflowDueDateProvider Interface