Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"Async Fork Transaction Issues"
To view the discussion, visit: http://community.jboss.org/message/535244#535244
--------------------------------------------------------------
HI,
when I run your process (but with my simple test classes - you did not attach source) including your configuration test fails indeed.
What I did to make it to work was to disable jobexecutor in jbpm.cfg.xml. After that change test went well. I tested that for both 4.3 and 4.4.
If that would not help you please post source for custom nodes I will try to dig a bit deeper.
HTH
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535244#535244]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"exception on fork getting all outgoing transitions"
To view the discussion, visit: http://community.jboss.org/message/535242#535242
--------------------------------------------------------------
Hi,
I ran into similar problem and unfortunately I don't have explanation why it happens like that.
I pretty sure what is the reason of the problem - process definition is not loaded for the process instance (Execution) that you are examining. I would suggest a workaround to get it working. Check if process definition is present on your execution and if note use ProcessDefinitionQuery
repositoryService.createProcessDefinitionQyery().processDefinitionId(processInstance.getProcessDefinitionId()).uniqueResult()
and set returned object on your execution.
That should solve the problem.
You can as well do it manually by checking process definition your self to find correct node by its name (currently executing one).
HTH
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535242#535242]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"Asynchronus execution error"
To view the discussion, visit: http://community.jboss.org/message/535236#535236
--------------------------------------------------------------
More information would be helpful, such as your process definition.
On a first look it seems like your deployment is not complete. Perhaps (and this is just a rough guess) after your task you have a java activity that requires that class but the class was not part of deployment (resources of type .class was not added before calling deploy method)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535236#535236]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"jBPM 4.3 starting a sub-process after a state node will fail"
To view the discussion, visit: http://community.jboss.org/message/535234#535234
--------------------------------------------------------------
HI
I did the execution like that to test whole flow, so it was just a unit test.
What you are describing (at least as far as I understood it) is the normal way jBPM works. If you deploy your process to data base and then execute it via bpm console you will do it in three stages:
1. start process - will go to wait state
2. signal from wait state - will go to subprocess
3. wait state after subprocess execution
4. signal from wait state again and go to end node
All of them will be triggered separately. I am not sure about your execution context - is it a test case or is it a standalone application or running in a container. Please elaborate a bit or even post you classes so I could test it a bit more.
Cheers,
Maciej
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535234#535234]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Johanna Voxy [http://community.jboss.org/people/voxy] created the discussion
"call function in guvnor rules"
To view the discussion, visit: http://community.jboss.org/message/535231#535231
--------------------------------------------------------------
Hi guy,
does anyone knows how to call a function in guvnor's rules?
i'm trying to do something approximatively like that :
*function :*
function void choosegame (String game){
int startgame=0;
if ( game == "basic")
system.out.print (MessageBasic);
startgame = 1;
}
*rule :*
rule "basic game "
When :
Player( NewPlayer : level =="beginner");
Then :
Player fact0 = new Player();
fact0.setStatus( "basic" );
insert(fact0 );
choosegame (basic);
end
but it doesn't work.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535231#535231]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
Jesper Pedersen [http://community.jboss.org/people/jesper.pedersen] replied to the discussion
"JcaXAResourceRecovery"
To view the discussion, visit: http://community.jboss.org/message/535229#535229
--------------------------------------------------------------
Jonathan, what are your plans for TS in EAP ? We are currently at 4.6.1.GA_CP04.
Also I need to lookup the RecoveryManagerService using JMX - or through one of the TM services registered in JMX, since this is the JMX based JCA container.
Any API to do that - or it is a "Feature Request" for the RecoveryManagerService implementation ?
For the new JCA container we will just inject the RecoveryManager bean... but we can discuss that once we get to it.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535229#535229]
Start a new discussion in JCA Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
aymen ben moussa [http://community.jboss.org/people/aymen861] created the discussion
"Some Questions about jbpm"
To view the discussion, visit: http://community.jboss.org/message/535221#535221
--------------------------------------------------------------
Hello,
Please i have some questions about jbpm :-/
1)Does Jbpm has a jackrabbit Connector?
2)Does Jbpm supports conditional workflow?
3)what about alerts ?
4)Single sign on with other server?
5)Managing a GUI with list of tasks?
6)web affinity ?
7)Reporting?
8)ability to assign a task to a user according to external criteria?
9)Support Form?
10)archiving a path in a workflow?
Thank for your information :)
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535221#535221]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]