biuan SAP® BUSINESS ONE SDK
API Workflow Task Service

Description

WorkflowTaskService is a business object that manages the tasks of the SAP Business One Workflow component.

This object enables you to do the following:

  • Get workflow tasks owned by the current user and filter tasks by status.
  • Complete a workflow approval task of a given task ID and other parameters.

Source table: OWLS.

Object Model

Remarks

This service supports only the operations of approval tasks in this stage.

To use the task service, proceed as follows:

  1. Connect to a valid company.
  2. Call CompanyService, which is the main DI service that you must call before using any other service.
  3. Call the GetBusinessService method for the required service.

See Also

SAP® B1 DI-API C# definition

public class WorkflowTaskServiceClass : IWorkflowTaskService, WorkflowTaskService { public extern WorkflowTaskServiceClass(); public virtual extern void Complete( WorkflowTaskCompleteParams pIWorkflowTaskCompleteParams); public virtual extern WorkflowTaskCollection GetApprovalTaskList( WorkflowApprovalTaskListParams pIWorkflowApprovalTaskListParams); public virtual extern object GetDataInterface( WorkflowTaskServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); }

Related information


Workflow Approval Task List Params WorkflowApprovalTaskListParams Object
This object specifies the identification key of the GetApprovalTaskList method.
   Parent: Workflow Task Service WorkflowTaskService Service· Table: OWLS

Workflow Task Collection WorkflowTaskCollection Collection
WorkflowTaskCollection is a collection of WorkflowTask objects.
   Parent: Workflow Task Service WorkflowTaskService Service· Table: OWLS

Workflow Task Complete Params WorkflowTaskCompleteParams Object
This object specifies the identification key of the Complete method.
   Parent: Workflow Task Service WorkflowTaskService Service· Table: OWLS

Workflow Task Service Data Interfaces WorkflowTaskServiceDataInterfaces Enumeration
   Parent: Workflow Task Service WorkflowTaskService Service· Table: OWLS


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Icons by Icons8 Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates