PSAWorkflowParticipantProviderInvoice Class [AX 2012]
The PSAWorkflowParticipantProviderInvoice class is a customized implementation of the WorkflowParticipantProvider interface that resolves user groups to users but it also inserts new specific roles which can be selected for approval or task.
| Method | Description | |
|---|---|---|
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getParticipantTokens | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the PSAWorkflowParticipantProviderInvoice class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| resolve | Resolves a user group ID to a list of users. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Initializes a new instance of the PSAWorkflowParticipantProviderInvoice class. |
The PSA specific roles are the department manager is the employee supervisor in the employee table, the architect is the PSA architect, the sales manager is the responsible sales, the project manager is the responsible, the financial manager is the responsible financial in the ProjTable table. This implementation of the WorkflowParticipantProvider interface can be registered as the participant provider for any workflow task or approval that requires user group resolution. The "aa" prefix appears because the list is automatically ordered by ID and we need those five roles to be always the in the top of the list.