Designing and Implementing Business Process Models : Task Engine API and Service Reference : Using the Task Engine Web Service API : TaskData
TaskData
Holds business data relating to the task. The underlying data structures used to hold the business data in a TaskData object is different for regular Web-service clients and .NET clients.
TaskData Structure for Regular Web-service clients
For regular, Java-based Web-service clients, the TaskData object is a Map object in which business data is structured as a set of key-value pairs. Keys must be string values. Values can be any data type.
In the following example, the TaskData object holds customer information in a set of five key-value pairs.
Key
Value
firstName
String Anna
lastName
String Pareo
emailAddress
String apareo@msx.com
acctNum
String J5468-6268-508
TransactionCodes
String [ ] 20060819A1430
              20060330P0604
              20060314A1128
TaskData Structure for .NET Clients
For .NET clients, TaskData is a Map object that is made up of an array of MapEntry data structures. A MapEntry data structure contains two fields, as shown below:
Field
Description
key
String A name given to the field.
value
AnyType The data that belongs to the field.
In the following example, the TaskData array contains five MapEntry data structures. Each entry consists of a field called "key," which represents the name of the field, and a field called "value," which contains the value of the field.
Element #
key field
value field
0
firstName
String Anna
1
lastName
String Pareo
2
emailAddress
String apareo@msx.com
3
acctNum
String J5468-6268-508
4
TransactionCodes
String[ ] 20060819A1430
              20060330P0604
              20060314A1128
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback