processi

about processes and engines

AppliedWorkitemExtractor, a rescue tool

The ParticipantExpression, just before emitting a workitem to a participant (which is, most of the time, external to the OpenWFE engine), stores a copy of the applied workitem.
On production systems, things may go wrong and a workitem may get lost.

This extractor takes care of parsing a participant expression as stored in the expression pool (the memory of the engine) and generates the workitem’s XML representation, so that it can be put in the worklist to redo the faulty operation (proceed) again (with a fixed process definition or maybe engine).

Implemented. It’s $OPENWFE_HOME/bin/applied-item-extractor.sh (the .bat should follow).

Point it to a participant expression, and it will extract the workitem (as just before the problem) and it will save it in a file named extracted_workitem.xml that you can immediately put in your worklist (no restart needed usually).

(Done in Basel)

Written by John Mettraux

March 4, 2006 at 5:10 pm

Posted in openwfe, technical

2 Responses

Subscribe to comments with RSS.

  1. Remember that you have to rename the extracted participant expression else it will not be found when you preoceed the workitem – Cheers, Boris

    boris

    March 4, 2006 at 9:18 pm

  2. Hi Boris,

    thanks for the meals ! Pasta was wonderful !

    Yes, I did the auto-rename thinggy while riding the train back to the south-west.

    Cheers,

    John

    jmettraux

    March 4, 2006 at 11:40 pm


Comments are closed.

%d bloggers like this: