Hello, everybody!
I have a question of principle about task instance description. Why isn't it
possible to set/get a description of a task instance?
As far as I know the only way to do so is to set a description of the task from
which the task instance "derives". But what happens if I want to set different
description of each task instance? Suppose you have a task instance that "says"
that a particular document must be signed and this document is different each
time a task instance is been created. The only workaround for this is first to
set description of the task itself and after taht to call for example:
taskInstance.setTask(task);
But if I want to show a task instance description to a user I cannot because
there is no such method like taskInstance.getDescription();.
Instead task.getDescription(); can be used. But again what happens if each task
instance has different description? The data is in the database but it cannot
be shown to the user :(
I am sorry if I was too talkative, as I said this was a question of principle.
Regards,
Saviola
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909713#3909713
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909713
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user