Function: a!milestoneField()
Displays the completed, current, and future steps of a process or sequence, such as a user's current step in a wizard or the current state of a business process.
Name | Keyword | Types | Description |
---|---|---|---|
Label |
|
Text |
Text to display as the field label. |
Instructions |
|
Text |
Supplemental text about this field. |
Steps |
|
List of Text String |
Array of labels describing the sequence of steps. |
Links |
|
List of Variant |
Array of links to apply to the steps. Create links with a!documentDownloadLink(), a!dynamicLink(), a!newsEntryLink(), a!processTaskLink(), a!recordLink(), a!reportLink(), a!safeLink(), a!startProcessLink(), a!submitLink(), a!userRecordLink(), or a!authorizationLink(). |
Active |
|
Number (Integer) |
Index of the current step. When null, all steps are in the future. When -1, all steps are completed. |
Label Position |
|
Text |
Determines where the label appears. Valid values:
|
Help Tooltip |
|
Text |
Displays a help icon with the specified text as a tooltip. The tooltip displays a maximum of 500 characters. The help icon does not show when the label position is |
Visibility |
|
Boolean |
Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true. |
Orientation |
|
Text |
Determines the layout of the milestone steps. Valid values: |
Accessibility Text |
|
Text |
Additional text to be announced by screen readers. Used only for accessibility; produces no visible change. |
Notes
0
or greater than the total number of items in the steps array. If it's null, all steps display as future steps. If it's -1
, all steps display as completed.Copy and paste an example into the INTERFACE DEFINITION in EXPRESSION MODE to see it displayed.
1
2
3
4
5
6
7
8
9
10
11
12
13
=a!milestoneField(
label: "Home Repair Claim Process",
instructions: "Customer #2325691",
steps: {
"Submit Customer Request",
"Set Up On-Site Appt",
"File Assessment",
"Submit Proposal",
"Submit Agreement",
"Finalize Repairs"
},
active: 3
)
Displays the following:
1
2
3
4
5
6
7
8
9
10
=a!milestoneField(
steps: {
"Review Cart",
"Billing Information",
"Shipping Information",
"Confirm Order"
},
active: 2,
orientation: "VERTICAL"
)
Displays the following:
The following patterns include usage of the Milestone Component.