This content has been marked as final.
Show 2 replies
-
1. Re: data on taskinstance level
susantpatnaik Oct 5, 2005 8:08 AM (in response to icyjamie)Hi James :
Catach me if i am wrong .
I have tried one of the following as
i have screen1.jsp where i captured one taskinstance data and storing into a map and that map i am getting in usedefinedDecisonHandler .// in the engine complterTask(Map map,....) if(map!=null){ processInstance.getContextInstance().createVariable("variable",map); processInstance.getContextInstance().setVariable("variable",map); log.info("map value in eng is : "+map); taskInstance.end();
// in the DescionHandler we are retriving by this way ContextInstance context = executionContext.getContextInstance(); Map map = (Map)context.getVariable("variable"); String data1= (String)map.get("data1");
I have just tryied this way to persist data for workflow.
Any input will be highly appriciatable.
Thanks,
Susant Patnaik -
2. Re: data on taskinstance level
icyjamie Oct 5, 2005 8:27 AM (in response to icyjamie)Then you have a serialized map in the DB, right?