Using Wizard Form
You can create a Wizard form when you want to include multiple forms within a form. Adeptia Suite supports an external tool, Frevvo for creating a wizard form. For more information, refer to http://docs.frevvo.com/d/display/frevvo53/Flows+Home+Page.
- Select Wizard Form from the Form Type drop-down list.
- Click Create Form to open the design form.
The screen is divided into two panes. The left pane displays a palette of controls (including forms) and their properties. The right pane displays a blank flow/form. You can create a flow by dragging multiple controls from the left pane and dropping them into the right pane. You can rearrange the controls and also edit the control properties under the Settings tab.
A sample Wizard form.
When you drag and drop a form control into the flow canvas, it is displayed as a field. You can edit and customize this control by clicking the edit ()icon. A pallet with more controls appears. You can include these controls to create a form within a flow. Just like Rich Forms, you can also edit the properties displayed in the Properties section of the left pane. You can edit properties such as the control name, control type, and more.
When you fill up the form and submit it, an XML file containing this data is generated in the Process Flow repository. The files uploaded in the Web Form also get stored there. You can access through Process Flow using Context Source activity.
To use these files in the Process Flow, do the following:
- Set the Document Repository property of the Context Source activity to true. File Name (with full path) drop-down list with the following options gets active.
- $$FORM_DATA$$:
Select this option to access XML file.
- $$FORM_DATA$$:
- $$FORM_UPLOADED_FILE_NAME$$:
Select this option to access the uploaded file.
- $$FORM_UPLOADED_FILE_NAME$$:
If the user uploads a single file, it gets stored in the HW folder inside the repository. However, in case of multiple files, a zip file containing all the uploaded files is stored in the HW folder with the name FORM_UPLOADED_FILE.zip. To use a specific file from the zipped files, you need to use Custom plug-in.