[jboss-user] [JBoss jBPM] - Re: Variables in MailAction
syngolis
do-not-reply at jboss.com
Wed Jul 4 06:18:15 EDT 2007
if i am not able to access attributes like processInstanceId or TaskId from within #{variable} I have to set it before the mail is sent, e.g.:
<event type="node-enter">
| <script>
| <expression>
| TokenId = executionContext.getToken().getId();
| </expression>
| <variable name='TokenId' access='write' mapped-name='TokenId' />
| </script>
| </event>
After that I can use #{TokenId} in mail-text. That was the meaning of workaround. (Workaround for my problem)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060330#4060330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060330
More information about the jboss-user
mailing list