Build Application with connectors and temporary form

1
0
-1

Hi all,

I have an application similar to the Travel Tool from the getting started tutorial.
The homepage offers a list of items and allows the user to create a new one clicking on a "Create" button (in the same way as user can create a travel request in the Travel tool example). However, I need to fetch data from external db before the user can submit a new request. In my diagram I have a start event followed by a connector and then the human task to create a new request. Done in this way, when a user click on the "Create" button on the homepage, Bonita shows the temporary form on which user have to click on the green "Start" button in order to trigger the process.
What I want is to not have the temporary form showed: upon clicking on "Create" I need the process to start, the connectors to fetch the data and the UI page of the human task to be displayed.

In the Travel Tool there is a contract defined at the pool level (for the new request) and one for the "Manager review" task. This might be my probem as I do not have a contract defined at pool level. I only have a contract defined for the human task that comes after the connector in my diagram. However, if I define a contract at the pool level the connector task is not executed.

Hopefully I was not too confusionary!

Thanks in advance.
Best

Comments

Submitted by vitiellom on Mon, 12/11/2017 - 11:00

Hi again,

as a further attempt, I created a simple diagram in which I defined a contract and a connector-in both at pool level. What I expect to happen is the connector-in to be executed (fetch data from external db) and then I use the returned value to populate a dropdown menu in the UI. However, the connector-in gets executed only after the user compile the form and click on the submit button. But this should be the behavior of a connector-out only! Why does this happen?
I also have exported a bos file, which is available at [1] in case somebody wants to take a look.

Thanks in advance for the help.
Best

[1] https://www.dropbox.com/s/jf59yohux506uq1/p_test-1.0.bos?dl=0

No answers yet.
Notifications