Can someone other then me check if it works now against svn-trunk. So not
removing of the xsd should be needed and no specifying of a template on
reminder to get the right template being used.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247306#4247306
Rep
Oh, you might want to remove the xsd reference in the pd to make this work (it
circumvents validation against the xsd)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246414#4246414
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode
I've been mislead also. https://jira.jboss.org/jira/browse/JBPM-2254
Thought that notification and reminder accepted a template attribute, but
looking at the xsd, they don't.
BUT... according to the source it should work. So try something like I
mentioned before:
|
|
|
hmm..i am running out of ideas...
I had the same requirement but I have acheive it it in JBPM 3 with an event...I
think things have changed considerably in JBPM 4..
In JBPM 3 the task assignment mail template and event was called with the same
name "task-assign" so I dint have any problem..The
Sorry for not mentioning it in my previous post but I also tried the following
|
|
|
|
|
|
|
|
| Assignment notification (E-C)
| Task assigned
|
|
|
But this code does nothing at all... It'
But you are not using an event as we suggested..try this and let us know how
you get on..
My initial example:
|
| Hello, there
| Task instance name #{taskInstance.name}
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246346#4246346
Rep
Now we're back where we started :-) those silly loops
My initial try was this
|
|
|
|
|
|
|
|
| Assignment notification (E)
| Task assigned
|
And this works fine except for the context vari
I'm not 100% sure a mail element can be nested in a 'on' element in 4. But why
not use the notify element with a template attribute?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246281#4246281
Reply to the post :
http://www.jboss.org/index.html?module=bb&o
event type "task-notification" should work. In jbpm 4 "task-assign" is replaced
with "task-notification" template.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246278#4246278
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=rep
sorry msg didnot come properly
use just wild guess:)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246229#4246229
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246229
_
use just wild guess:)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246226#4246226
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246226
___
jboss-user mailing list
jbos
Ok, I think a get the picture but i still have some problems.
First be aware that i'm using jBPM 4.
@TejJBPM:
anonymous wrote : The only system templates are "task-assign" and
"task-reminder" which are by default present in jbpm.mail.templates. Whatever
variables you want will work only under th
Ok, then it might have been the way you said it (and do it again now) that I
tried to correct your statement (you were right about using an event instead of
node)
And to make it 100% clear now, it has nothing to do with 'using a custom
template in a mailnode' it has to do with 'using a mailnod
That is what I said Ronald. If he is using a custom template in the mail node
he cannot access it . He has to change it to task-assign event to get the
handle of it and I gave a code sample of how to achieve it
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&
@Gert
See my response to TejBPM below
@TejBPM
It has nothing to do with the templates, it has to do with the executionContext
you are in. If you have a mail *node* like Gert initially had, there is no task
instances there in the context. If you have an eventhandler and the event is
task-assign
You did not get what I said. In the example you gave the name of your custom
template as "task-notification". If you change that name to "task-assign" your
taskinstance.name variable will work.
You are using custom template by changing the name of the template to
"task-notification". The only s
I'm aware that I'm using the "task-assign" template and indeed i have set
notify to 'yes'. Everything works fine except for the taskInstance variable.
For the moment I'm not trying to make a custom template.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=42458
There are few problems:
1. Firstly the template named "task-assign" will be called you set notify="yes"
in your task node. Only this template has access to #{taskInstance.name} not
your custom template.
2. If you want to use a custom template then you got to set the event as
"task-assign" insid
I dont see why it should not..how r u accessing the variables? Could you
explain with some example?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245848#4245848
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245848
__
19 matches
Mail list logo