Multiinstantiation
Multi instantiation is used in the case when we want the same step to be repeated a number of times. There are some options that we can configure when it comes to multi instantiation. Let us look at these options via an example. Right now, the initiator can only submit one report at a time. Let us give him/her the option to choose the number of reports he/she should submit and thereafter multi instantiate the whole Report pool those many number of times. For this, let us create a new form in between the Welcome and the InitiateReport step. Let us call this step ReportNumber
. Create a web form for this step, with a radio button widget called ReportNumberOptions
. Change its label to Select the number of reports to be submitted:
.
We also need to create the data for the radio button options. Hence, for this reason, create a step variable called reportNumberOptions
, with the data type Passengers. Note that we had already created the list of options for Passengers in the previous...