This content has been marked as final.
Show 2 replies
-
1. Re: Re: CreateProcess and definition parameter
pieter.martin Mar 4, 2008 7:00 AM (in response to pieter.martin)Hi,
I have added the following code to BusinessProcessInterceptor
private String getTagDefinition(String el) { Object key = Expressions.instance().createValueExpression(el).getValue(); if (key==null) { throw new IllegalStateException("business process definition name may not be null"); } return key.toString(); }
This gets called in
private Object afterInvocation(InvocationContext invocation, Object result) { ... BusinessProcess.instance().createProcess( getTagDefinition(tag.definition()), getProcessKey( tag.processKey() ) ); ... }
I have tested this and it works well.
Shall I log a feature request for this or not?
Thanks
Pieter -
2. Re: Re: CreateProcess and definition parameter
pieter.martin Mar 4, 2008 5:31 PM (in response to pieter.martin)