On 11/7/06, Harold CAPITAINE <[email protected]> wrote:
Hi list,

I have to develop a functionality that would allow to simulate a proceed
on a work item from a work flow thanks to a mail reply.
For example someone will activate a node, then an email is send to
someone else, and this person should be able thanks to the
functionality, to proceed by replying to this email and not by loging
into magnolia.
So my problem is how to program in java the fact to set the workitem
step as done and to go to the following step?

Hi Harold,

you should simply study how Magnolia does the 'workflow proceed'
operation / command.

You can also have a look at the embedded engine API :
http://www.openwfe.org/apidocs/openwfe/org/embed/engine/Engine.html

When the mail comes back, you could do embeddedEngine.reply(workitem);

That's for the big picture.

IIRC, there's a Magnolia command for sending a notification email and
Magnolia commands can be weaved directly into the process definition.


Best regards,

--
John Mettraux   -///-   http://jmettraux.openwfe.org

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to