hi All,
We have a scenario where we have to use data present - in TaskData object of MWS Tasks in Generic portlets which are present in non Task packages.
At present, to get TaskData, we are using getTask() method from webservice: http://host:port/services/bizPolicy/task?WSDL.
This getTask() method returns the contents of taskdata as a HashMap and we are getting custom data as shown below:
Hashtable taskBusinessData = this.getGetTask().getResult().getTaskData();
Hashtable customData = (Hashtable)taskBusinessData.get("customData");
String strValue1 = customData.get('customStrData1');
String strValue2 = customData.get('customStrData2');
Is there any better procedure where we can use existing MWS Task API in Generic portlets (in non Task Packages), to get TaskData?
We tried using TaskContentProviderExtended, TaskContentProvider and ItaskPortType class, but these classess has methods to get only TaskInfo object.
Kind regards,
Raja sekhar Kintali
#MWS-CAF-Task-Engine#webMethods-BPMS#webMethods