Discussion:
[jboss-user] [jBPM] - can a human task autostart?
xealous
2012-07-26 11:56:15 UTC
Permalink
xealous [https://community.jboss.org/people/xealous] created the discussion

"can a human task autostart?"

To view the discussion, visit: https://community.jboss.org/message/750433#750433

--------------------------------------------------------------
Hi,
I have 2 human tasks with 2 forms seperated by a service task such that the 2nd form depending on the 1st one. Is it possible for the 2nd form to auto appear when the process reaches to the 2nd human task?
example case is;
* ask for some values with 1st form
* do some calculations, retrieve external data, etc.
* show results and ask for some other values with 2nd form
Since 2nd form is some kind of an extension of the 1st one, I want it to appear it after pressing on the complete button in the 1st one, without doing anything else. Is that possible, and if it is, how can I achieve it?
Thank you,
Okan
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/750433#750433]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Miloud Haimoune
2012-07-26 16:01:25 UTC
Permalink
Miloud Haimoune [https://community.jboss.org/people/milhaim] created the discussion

"Re: can a human task autostart?"

To view the discussion, visit: https://community.jboss.org/message/750520#750520

--------------------------------------------------------------
Hi,

you can use the "On Exit Action" property to signal the human task 2:


kcontext.getProcessInstance().signalEvent("human task 2",null);



HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/750520#750520]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
xealous
2012-07-27 10:16:08 UTC
Permalink
xealous [https://community.jboss.org/people/xealous] created the discussion

"Re: can a human task autostart?"

To view the discussion, visit: https://community.jboss.org/message/750651#750651

--------------------------------------------------------------
I've tried that but nothing happened differently. I'm using guvnor and jbpm-console by the way.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/750651#750651]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2012-07-31 17:04:01 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: can a human task autostart?"

To view the discussion, visit: https://community.jboss.org/message/751303#751303

--------------------------------------------------------------
zaid_ahmmed
2013-03-27 08:00:50 UTC
Permalink
zaid_ahmmed [https://community.jboss.org/people/zaid_ahmmed] created the discussion

"Re: can a human task autostart?"

To view the discussion, visit: https://community.jboss.org/message/804981#804981

--------------------------------------------------------------
Hi Maciej,


Kindly suggest a solution to my question in the following thread,

https://community.jboss.org/thread/222987 https://community.jboss.org/thread/222987

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804981#804981]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...