Getting current wfid inside a Participant

21 views
Skip to first unread message

Lukas Loesche

unread,
Apr 30, 2013, 7:18:33 AM4/30/13
to openwfe...@googlegroups.com
Sorry if there's an obvious answer to this question, but I couldn't find it.

How can I retrieve the current wfid inside a participant? Is it automatically passed as part of the workitem or is there another way to get it?
I tried workitem.fields['wfid'] but that was empty.

Also is there a list of ruote/process related engine/system variables that are available to a participant instance?

John Mettraux

unread,
Apr 30, 2013, 7:31:59 AM4/30/13
to openwfe...@googlegroups.com

On Tue, Apr 30, 2013 at 04:18:33AM -0700, Lukas Loesche wrote:
>
> Sorry if there's an obvious answer to this question, but I couldn't find it.
>
> How can I retrieve the current wfid inside a participant? Is it
> automatically passed as part of the workitem or is there another way to get
> it?
> I tried workitem.fields['wfid'] but that was empty.

Hello Lukas,

workitem.wfid

> Also is there a list of ruote/process related engine/system variables that
> are available to a participant instance?

There aren't much of those. The participant is supposed to receive all the
necessary info via the workitem. If it needs more info it can use
hints/links/ids found in the workitem to query other systems.


Best regards,

--
John Mettraux - http://lambda.io/jmettraux

Reply all
Reply to author
Forward
0 new messages