tracing process execution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2011 08:39 AM
Hi,
I am searching for a possibility to trace the execution of processes. We have a proprietary xml-format which is xslt-converted to bpmn20 and then executed. The designers of the process are no programmers. Our design tools is based on eclipse emf. So my idea is to implement some debugging trace to send it to the eclipse tooling for highlighting the nodes in the process and "stepping" forward.
I tried the following:
Can anybody please enlighten me why this is not working? Any other ideas?
Best regards
Michael
I am searching for a possibility to trace the execution of processes. We have a proprietary xml-format which is xslt-converted to bpmn20 and then executed. The designers of the process are no programmers. Our design tools is based on eclipse emf. So my idea is to implement some debugging trace to send it to the eclipse tooling for highlighting the nodes in the process and "stepping" forward.
I tried the following:
<sequenceFlow id="flow__hwLePislEd6JArVhar3Org" sourceRef="_hwLePislEd6JArVhar3Org" targetRef="_hwLeQCslEd6JArVhar3Org"> <extensionElements> <activiti:field name="source"> TEST </activiti:field> <activiti:executionListener class="com.bigcompany.wfe.activiti.listener.SequenceFlowListener"/> </extensionElements></sequenceFlow>
public class SequenceFlowListener implements ExecutionListener { private String source; @Override public void notify(DelegateExecution execution) throws Exception { System.out.println("source: " + execution.getVariable("source") + source); System.out.println("destination: " + execution.getVariable("destination")); }}
Can anybody please enlighten me why this is not working? Any other ideas?
Best regards
Michael
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2011 10:16 AM
Hi,
The field extensions should be child elements of the execution listener element.
Best regards,
The field extensions should be child elements of the execution listener element.
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2011 10:39 AM
Thank you! Works like a charm. Correct for field injection is of course:
BRM
private FixedValue source;
in the delegate class.BRM
