I have two forms in maestro with a job controller. In the second form I have a back button to return to the first form, I set up the collaboration job but I'm getting an error if I call it by name.
Also I create a new step with the data calling by properties and the form code, the redirection is ok to the form 1 but when I click submit I got an error.
Is there a simple way to do that?
Was the following link that Howard has given to this example useful?
Multi Step Group Review Job
Each Form task (contained in each task step) can have a separate form code. However you may find it easier to maintain a single form such as in the example. This has visibility rules that hide show sections based upon the step that the Job is up to. It also has edit-ability that make sections read only to the current user.
The start form is not represented in the collaboration job itself - it's "outside" the collab job, and it's the form that starts the job. If you want to redirect back to the start form, you need to add a step to the collaboration job, and create a route to it. It can still refer to the same form code (you don't need to actually create a new form), but it does need to exist as an independent step in the job.
Take a look at this example:
It's not exactly what you are looking for, but you can see how you can navigate back and forth between "Initial Review" and "Applicant Update" as many times as you like - there are just the two forms, each with their own form code, but you can use them as often as you like within the collab job.
Note that bundles work slightly differently. Have a look at this example:
Customer Onboarding Job - Form Bundle
By default, all the forms in the bundle (which are represented as task assignments in the same step) can only be opened once, and submitted once. If you want them to be able to be "re-opened", then set "allFormsEditable": true.