-
1. Re: mail node how to define actor and send email
Ross McDonald Aug 3, 2007 11:18 AM (in response to Ross McDonald)whoops, I pressed tab and the form submitted...
<mail-node name="notify-initiator-rejected" actors="#{initiator}">
line manager rejected
the line manager rejected for reason : #{reason}
</mail-node>
<mail-node name="notify-psm-red-light" actors="#{psm}">
red light flagged building
blah blah
</mail-node>
so initiator is attached to which ever user kicks the process off, and the email is retrieved from the database fine, can anyone provide me with an example of how to define another actor within the process, attached to a user defind in the jbpm database?
Thanks for your help,
Ross -
2. Re: mail node how to define actor and send email
Ronald van Kuijk Aug 3, 2007 12:14 PM (in response to Ross McDonald)still not ok.... use [ c o d e ] tags (see the preview)
-
3. Re: mail node how to define actor and send email
Ross McDonald Aug 6, 2007 3:51 AM (in response to Ross McDonald)hi,
whoops again, sorry, I will try with the code tag...<swimlane name="initiator"/> <swimlane name="line-manager"> <assignment expression="user(user)"></assignment> </swimlane> <swimlane name="psm"> <assignment expression="user(psmuser)"></assignment> </swimlane> <mail-node name="notify-initiator-rejected" actors="#{initiator}"> <subject> line manager rejected </subject> <text> the line manager rejected for reason : #{reason} </text> <transition to="psr rejected"></transition> </mail-node> <mail-node name="notify-psm-red-light" actors="#{psm}"> <subject> red light flagged building </subject> <text> a red light building has been found for PSR </text> <transition to="psm endorse"></transition> </mail-node>
So here the initiator email works fine, dispatching to whoever kicks off the process, but I am unsure how to specify other actors within the process, like the 'president' example in the docs...I have a user 'psmuser' in my JBPMTEST_ID_USER table, but no email process occurrs, I do not get an exception reported, and there is no pause in the process like when the initiator email is sent,
thanks for your help,
Ross -
4. Re: mail node how to define actor and send email
Ross McDonald Aug 7, 2007 3:41 AM (in response to Ross McDonald)hi guys,
can anyone point me to any information on this, I am having trouble understanding how to define actors other than 'initiator', and so cannot send mail to anyone other than the process initator,
thanks for your help,
Ross -
5. Re: mail node how to define actor and send email
Ross McDonald Aug 9, 2007 11:42 AM (in response to Ross McDonald)I now understand this, and my problems were related to postfix on osx
Ross