📚 SAP Business One SDK Help

WorkflowTaskService Object Members
See Also  Overview 

Public Methods

Public Method CompleteCompletes a given approval task specified by WorkflowTaskCompleteParams (TaskID), adds notes, and triggers parameters for the task given in WorkflowTaskCompleteParams (Note, TriggerParams).

This function, which is asynchronous, sends a signal to the workflow engine to complete the task specified by the "TaskID". You can check the task status to ensure that the task has been completed successfully.

Note: This function is available only for the approval tasks that possess all the follwing features:

  • Type "U".
  • Operation "P".
  • Status "W" or "G".
Public Method GetApprovalTaskListReturns the WorkflowTaskCollection object.

Note: A task will be listed only for its owner or candidate.

Public Method GetDataInterfaceCreates an empty data structure for use with the GeneralService.
Public Method GetDataInterfaceFromXMLFileCreates an object from an XML file.
Public Method GetDataInterfaceFromXMLStringCreates an object from XML.

See Also