|
|
• Create a Microsoft .NET client assembly that consumes both the TaskManagerQueryService WSDL and the TaskManagerService WSDL. (See Referencing the .NET client assembly.)
• 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.
• 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).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.
• Iterate through the Object array by creating a loop structure and for each element, cast the element value to a TaskRow instance.
•
• Retrieve task information by invoking the TaskManager object’s getTaskInfo method and passing the task identifier value.
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