Trouble with Getting Started Tutorial 7.2

1
0
-1

I was having trouble with the tutorial so I decide to download the solution form GitHub repository.
I followed the README.adoc
Hovering over the Create new travel request link gives the following URL:
http://localhost:55008/bonita/portal/resource/process/Travel%20Request/1... **
Clicking on it gives a 404 Not Found Error.
A quick examination in the UI Designer shows the link URL is
**/bonita/portal/resource/process/Travel%20Request/1.0/content/?id={{processDef[0].id}}

I've also tried changing this to;
'/bonita/portal/resource/process/Travel%20Request/1.0/content/?id='+processDef[0].id
Either way processDef is NOT set, please advise.
Chris

2 answers

1
0
-1

You have to run the process yes, that's the way to get it to work...

Anyway. The reason you get those two lines there is the form (which is a test form for the process) are there on the form...

If you want to remove them, just open the UI and edit form reviewTravelRequest removing the two lines, save, and execute again. Gone.

I think Bonitasoft put them there as part of testing to show what they look like when changing the Approved/NotApproved

regards
Seán

1
0
-1

It works for me, have you downloaded the latest version?

regards
Seán

PS: If this reply answers your question, please mark a resolved.

Comments

Submitted by cjenkins on Sat, 02/13/2016 - 16:54

The bit missing from README.adoc is the need to deploy by RUN'ning the forms.
Now when I get to the Manager Review I get the following displayed after the Submit button; any ideas?

formOutput: { "status": "approved", "refusalReason": "" }

formInput: { "status": "approved", "refusalReason": "" }

Notifications