[rules-users] Variables in human tasks
Kris Verlaenen
kris.verlaenen at cs.kuleuven.be
Mon Sep 28 18:44:43 EDT 2009
You can pass data in the task object by setting it as the "Content" of
the human task. So this could be one data object, or a list/map of
multiple, or whatever you think is best. You can then access this
ContentData using the content id of the task:
task.getTaskData().getDocumentContentId().
Kris
Quoting Renato Herebia <renato.herebia at dextra-sw.com>:
> Hi all!
>
> I'm developing a flow to controll what each actor must do in my
> system using
> human tasks for that.
> After verify pending tasks for an actor, I have to verify what is
> the
> persistent object related to this flow.
> The idea to resolve this situation is to attribute the persistent
> object id
> to a flow variable before start
> the process and then attribute the flow variable to task
> variable/parameter.
> Thus, when I have the list
> of pending tasks for an actor, I can get the id of persistent object
> and
> restore this object.
>
> In this scenario, my doubt is: how to get the task
> variable/parameter?
>
> Thanks!
>
> --
> Renato Herebia
> Desenvolvimento
> Dextra Sistemas - MPS.Br Nível F!
> www.dextra.com.br
> +55 19 3256-6722 Ramal 27
>
> Este email é confidencial. Mais informações em:
> This message is confidential. More information at:
> www.dextra.com.br/confidencial.htm
>
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
More information about the rules-users
mailing list