-
1. Re: Is the unique process ID available in Eclipse designer
rossputin Aug 22, 2007 4:49 AM (in response to rossputin)Hi,
sorry if I have not been very clear, basically I want to be able to include the unique process ID in subject and text elements within mail nodes in the eclipse designer,
any help is greatly appreciated,
thanks
Ross -
2. Re: Is the unique process ID available in Eclipse designer
kukeltje Aug 22, 2007 11:54 AM (in response to rossputin)what is the unique processid?
-
3. Re: Is the unique process ID available in Eclipse designer
rossputin Aug 22, 2007 2:09 PM (in response to rossputin)Hi,
in Mysql the processinstance table has a primary key ID, and in the javadocs, a class org.jbpm.graph.exe.ProcessInstance has a method getId which returns a long... I was wondering if it is possible to include this information in the subject or text element of a mail node.. it may be that I need to put it in a process variable, I was just not sure whether it was already handled,
thanks,
Ross -
4. Re: Is the unique process ID available in Eclipse designer
aguizar Aug 22, 2007 3:08 PM (in response to rossputin)Section 18.3 of the user guide lists the implicit objects available in expressions. One of them is the process instance.
Try #{processInstance.getId} -
5. Re: Is the unique process ID available in Eclipse designer
rossputin Aug 22, 2007 3:32 PM (in response to rossputin)Hi, thanks thats great, will poke around more in the user guide,
regards
Ross -
6. Re: Is the unique process ID available in Eclipse designer
kukeltje Aug 22, 2007 5:25 PM (in response to rossputin)Correct you could, but there is also a new businesskey, one that you can fill with a more sensible unique value and use in your mail.
-
7. Re: Is the unique process ID available in Eclipse designer
rossputin Aug 23, 2007 3:54 AM (in response to rossputin)ah, that sounds interesting.. where might I be able to read more about that?
thanks
Ross