Activity Run Page
Following is an example of Activity Run page:
Fig 1.1
Input types:
Each input has any one of the following types:
Text
Number
Date
Boolean
File path
List
Table
Text: A text value is expected for the input and a text box will be shown in the user interface where the user can enter the text as shown in Fig 1.2.
Fig 1.2: Text box to enter text.
Number: A numeric value is expected for the input. A text box will be shown in the user interface as shown in Fig 1.3.
Fig 1.3: Text box to enter number.
Date: A date is expected as an input. A popup calendar will be shown in the user interface for date selection after you click on text box as shown in the following figures:
Fig 1.4: Date of Birth text box.
Fig 1.5: Calendar to enter the date.
Boolean: A Boolean value (TRUE / FALSE) is expected as an input. A checkbox is provided for the user.
The checkbox can take one of three states – checked (True), unchecked (False), or unspecified as shown in the following figures:
Fig 1.6: Unspecified.
Fig 1.7: Checked (TRUE).
Fig 1.8: Unchecked (FALSE).
File path: A file is expected as an input to the activity. The file upload button is displayed on the user interface to upload the file as shown in Fig 1.9.
Once you click on the Upload button, file explorer will appear on the screen, you can select the file that you want to upload.
Click on View Sample Input File (highlighted in Fig 1.9) to download and check sample input file.
Fig 1.9: Upload button to upload files.
List: A drop-down list is shown after you click on text box as shown in the following figure; user can choose one of the options specified.
Fig 2.0: Drop-down list.
Table: It is used to provide tabular data as an input. Table can have dynamic number of rows (Fig 2.1) or static rows (Fig 2.2)
Each column can have a different input type(text, number, date, and so on).
The + symbol in Fig 2.1 indicates that the user can add more rows.
The bin symbol in figure Fig 2.1 indicates the user can delete a row.
In static rows type, default number of rows are provided, where the user cannot add or remove rows as shown in Fig 2.2.
Fig 2.1: Table input with add and delete rows option.
Fig 2.2: Table input with default number of rows.
Inputs fields have some additional properties which define its behavior.
Required: Providing input value is mandatory. An error is thrown if left blank and proceeded with start activity.
Fig 2.3: Required field.
Optional: Providing input value is not mandatory. A default value is considered as an input value for that field. If a user wants to explicitly enter a value, user is required to check the Specify value explicitly checkbox, which will allow the user to explicitly enter a value.
Fig 2.4: Optional field.
Suggested: The input field will have a default suggested value which the user can edit and modify.
Fig 2.5: Suggested field.
Display: A default value is already taken as an input and displayed. User cannot modify or delete it.
Fig 2.6: Display field.