[jboss-user] [jBPM] - Is WorkingMemoryLogger working?
Lukasz Kozerski
do-not-reply at jboss.com
Mon Aug 22 16:39:37 EDT 2011
Lukasz Kozerski [http://community.jboss.org/people/lukasz.kozerski] created the discussion
"Is WorkingMemoryLogger working?"
To view the discussion, visit: http://community.jboss.org/message/622265#622265
--------------------------------------------------------------
Hi,
it seems that WorkingMemoryLogger (WorkingMemoryConsoleLogger for example) is not working after session loading.
Example:
StatefulKnowledgeSession session = JPAKnowledgeService.loadStatefulKnowledgeSession(sessionId, kbase, config,
environment);
new WorkingMemoryConsoleLogger(ksession);
In this example logger logs nothing.
Another question. My process looks like:
Start -> Script -> Work Item (which freeze the process - wating for complete) -> Script -> End
When I'm creating new session with WorkingMemoryConsoleLogger and starting the process it logs something like this:
OBJECT ASSERTED value:MyType( id=A, status=A ) factId: 1
BEFORE RULEFLOW VARIABLE CHANGED object=MyType( id=A, status=A ) process:process[id=process]
AFTER RULEFLOW VARIABLE CHANGED object=MyType( id=A, status=A ) process:process[id=process]
BEFORE RULEFLOW STARTED process:process[id=process]
BEFORE PROCESS NODE TRIGGERED node:Start[id=1] process:process[id=process]
BEFORE PROCESS NODE EXITED node:Start[id=1] process:process[id=process]
BEFORE PROCESS NODE TRIGGERED node:Script[id=7] process:process[id=process]
BEFORE PROCESS NODE EXITED node:Script[id=7] process:process[id=process]
BEFORE PROCESS NODE TRIGGERED node:Task[id=5] process:process[id=process]
AFTER PROCESS NODE TRIGGERED node:Task[id=5] process:process[id=process]
AFTER PROCESS NODE TRIGGERED node:Script[id=7] process:process[id=process]
AFTER PROCESS NODE TRIGGERED node:Script[id=7] process:process[id=process]
AFTER PROCESS NODE TRIGGERED node:Start[id=1] process:process[id=process]
AFTER PROCESS NODE TRIGGERED node:Start[id=1] process:process[id=process]
AFTER RULEFLOW STARTED process:process[id=process]
Why there is "NODE TRIGGERED node:Start" after node:Task?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/622265#622265]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110822/f7c8a896/attachment.html
More information about the jboss-user
mailing list