Hello,
I would like to implement a notification that listens for the event
workflowtaskrejected and then notifies the workflow participant that the task
was rejected to that a task is in the dashboard.
I was able to modify the workflowTaskended so the next participant would
automatically receive notification that a task is in the queue. That was as
easy as adding a template and a new notification name in notification-contrib
with autosubscribe set to true.
Im stumped on doing the same for workflowtaskrejected. If I set it up exactly
the same way as for workflowTaskended it doesnt respond in the same way.
I dont think its a listener issue. I think has something to do with how the
notification service deals with users/groups assigned to the workflow and that
specific event.
Any help would be greatly appreciated. I can even purchase a few hours of you
time if thats what it would take to resolve quickly.
Joe
[EMAIL PROTECTED]
Code that works
<notification name="Workflow Task Ended" channel="email" enabled="true"
availableIn="Workspace"
autoSubscribed="true" template="taskassigned" subject="Workflow task
Assigned" label="label.nuxeo.notifications.workflow">
<event name="workflowTaskEnded"/>
taskassigned.ftl
<HTML>
<BODY>
<P>The Workflow for document ${docTitle} has been assigned to you. <BR>
You can consult the doc . . . .
</BODY>
<HTML>
Code that doesnt works
<notification name="Workflow Task Rejected" channel="email" enabled="true"
availableIn="Workspace"
autoSubscribed="true" template="workflowTaskRejected" subject="Workflow
task was Rejected" label="label.nuxeo.notifications.workflow">
<event name="workflowTaskRejected"/>
workflowTaskRejected.ftl
<HTML>
<BODY>
<P>The Workflow for document ${docTitle} has been assigned to you because it
was rejected <BR>
You can consult the doc . . . .
</BODY>
<HTML>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm