I think i know what the problem is
im setting the value for a business scoped variable inside a method annotated
with
@CreateProcess(definition = "changerequestprocess")
and trying to access it in @Create before ive entered the first task.
Am i on the right track.?
View the original post :
I wonder if this has to do with the fact that the BP tasks are atomic and that
the business scoped modifications are only commited when a task completes..
this would explain why the crID is null... maybe... straws clutch clutch...
SLEEEPPP
View the original post :
http://www.jboss.com
Hi
I have this SFSB that handles a two page conversations, assigns a value to the
crId and also kicks off a @CreateProcess when the @End on the conversation is
called.
@Stateful
| @Name("createChangeRequest")
| public class CreateChangeRequestAction implements CreateChangeRequest {
|
Where is @In?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065202#4065202
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065202
___
jboss-user mailing list
jboss-user@lists.
Gavin
Sorry to keep buggin you, but can you point me in the direction of an example
showing how to bind to the BP ctx and then retrive in the @create
Ive done everything that i can , but the damn inject values are allways
null
@Out(scope=BUSINESS_PROCESS, required = false)
String aString
nice one Mr King. i must be cocking somthing else up.
Cheers again
H
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065004#4065004
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065004
___
Injected attributes are available during @Create methods, yes.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064994#4064994
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064994