Take a survey

Developing Applications Using APIs > Managing Processes and Tasks > Retrieving Task Information > Retrieving task information using the web service API

Retrieving task information using the web service API
To retrieve task information using the web service API, perform the following steps:
1.
2.
Using the Microsoft .NET client assembly, create a TaskManagerQueryServiceService object by invoking its default constructor.
Set the TaskManagerQueryServiceService object’s Credentials data member with a System.Net.NetworkCredential value that specifies the user name and password value.
Using the Microsoft .NET client assembly, create a TaskManagerServiceService object by invoking its default constructor.
Set the TaskManagerServiceService object’s Credentials data member with a System.Net.NetworkCredential value that specifies the user name and password value.
3.
Create a TaskSearchFilter object by using its constructor.
Specify search criteria by assigning a value to an appropriate data member that belongs to the TaskSearchFilter object. For example, to specify the process on which a task is based, assign a string value that specifies the process name to the TaskSearchFilter object’s serviceName data member.
Assign the value true to the TaskSearchFilter object’s adminIgnoreAllAcls data member to enable all tasks to be returned (not just the user who is specified in the connection settings).
4.
Search for tasks by invoking the TaskManagerQueryServiceService object’s taskList method and passing the TaskFilter object. This method returns an array of Objects where each element is a TaskRow object that represents a task that conforms to the specified search criteria.
5.
Retrieve task information by invoking the TaskManager object’s getTaskInfo method and passing the task identifier value.
View Quick Start
 

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/completingTasks.141.4.html