[jboss-user] [jBPM Users] - Re: How signal as a state to a task?
Sorry, I think it made me understand. I do not speak English I have the notify method, and I want to enforce the transition send email, when the response variable equals N As I pass the signal to the next task???... when he comes to the response variable N, run the following task | public void notify(EventListenerExecution execution) throws Exception { | String response = execution.getVariable(response)+; | if (response.equals(null)) { | response = new String(); | execution.setVariable(response, response); | } | ReposicionDao reposicion = new ReposicionDao(); | response = reposicion.verificarCarguePorReposicion(documento, caf); | execution.setVariable(response, response); | if(execution.getVariable(response).toString().equals(N)){ | | .. | //SHOULD I PUT THAT CODE | | } | } | Thanks, excuse for my English View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268532#4268532 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How signal as a state to a task?
What I understood is if the value of the response variable is N then you want to move to mail node, else stay at the state node. You can use a decision node after the state node. In the decision node you evaluate response variable value - if it is N then go to the mail node, if it is anything else go back to the state node again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268634#4268634 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How signal as a state to a task?
Help me, please with signal in process View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268304#4268304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: How signal as a state to a task?
I think the reason no-one responded is because your post is vague. The 'notify' you refer to is nowhere to be found, you probably want the timer to take a transition but the transition to take is nowhere to be found etc... So I suggest looking at jBPM testcase (in the source) or the examples and look how things are done there. Then if you have more information, please get back to us. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268357#4268357 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user