

You can create a choice master XML manually or by exporting it (see Creating a Choice Master XML with a Text Editor or the Modeler), but with the automated step [Update Choices] , you can save the choices held by a Select-type Data Item directly as a choice master XML (add-on file) within the workflow. Its distinguishing feature is that the update can be fully automated as a workflow step, with no manual intervention required. Alternatively, you can generate an choice master XML directly from a String-type Data Item – where each line represents a single entry – without needing to go through a Select-type Data Item. In this case, you can also assign specific properties to each choice, such as a unit price or an assigned person.
Table of Contents
- When to Use It
- Setup Steps
- Where It’s Registered and Permissions
- Combining with External Data
- Reference Links
When to Use It
This is well suited to data where the available choices aren’t fixed, but rather data that fluctuates or changes during operation (such as a client list or a product list). Instead of manually rebuilding the XML, you can simply update the source data and rerun the step to automatically regenerate the latest choice master, giving you a systematic, streamlined approach to maintaining your candidate list.
Setup Steps
In this article, the Choice IDs and Labels – which serve as the basis for the choices – are prepared within a String-type Data Item, with one entry per line. In the [Update Choice] Step, you select one of the following options under “Source of Choice”.
- Refer to a Select-type Data Item: Prepare a Select-type Data Item that uses the values of a String-type Data Item as its choices, and define these choices as a Choice Master XML.
- Compose choices from String type data items: Instead of preparing a dedicated Select-type Data Item, the Choice Master XML is generated directly from the values of String-type Data Items.
If you do not need choice properties (values associated with individual choices), you may select either option. If you do need to include choice properties, select “Compose choices from String type data items”. If you choose “Refer to a Select-type Data Item”, any properties defined for the choices within that Select-type Data Item will not be included in the XML output.
Here, we’ll walk through an example that turns a list of customers into a choice master called “Customer Master”
Preparing the String-type Data Items for the Choices
Prepare two String-type (multiple lines) Data Items (e.g., named “List of Customer IDs” and “List of Customer Names”). Each item should contain one entry per line, with the order of the lines establishing the mapping between the option ID and the display label. Lines with an empty option ID are ignored (as are any corresponding display labels or property values on the same line). If a display label is missing or the line is empty, the choice ID itself will be used as the display label for that option.
Customer ID List:
C001
C002
C003Customer Name List:
Aozora Trading
Iroha Industries
Uminoki CorporationThe values for these String-type Data Items can be set via manual entry in a Human Task, or alternatively, they can be populated using values from upstream processes, Script Tasks, or external data sources (such as Google Sheets).
Common Settings for the [Update Choice Master] Step
Place the [Update Choice] Step in your workflow and configure the following items regardless of the retrieval method:
- [Type of Add-on to be Updated]: Specify either “App-Shared Add-on file” or “Add-on file” (choose the former if sharing across multiple Apps)
- [User who updates the choices (must be System Administrator)]: Specify the User executing the update (the label and required privileges change depending on [Type of Add-on to be Updated])
- [Name When saving as Add-on]: An arbitrary name (e.g., “Customer Master”)
On the settings screen, the fields appear from top to bottom in the following order: [Type of Add-on to be Updated], the User field, [Source of Choice], fields specific to the retrieval method, and [Name When saving as Add-on].
When Referencing a Select-type Data Item
- Prepare a Select-type Data Item (e.g., named “Choices for Master Verification”). In the settings dialog under [Type of data source], select “String type data item”, specify “Customer ID List” for [Choice ID], and specify “Customer Name List” for [Label]. Each line will then become a candidate choice as-is. If the Label can be identical to the Choice ID, select “Use Choice ID as Label”, which requires only one String-type Data Item.
- In the [Update Choice] Step, configure the following items in addition to the common settings:
- [Source of Choice]: Specify “Refer to a Select type data item”
- [Select data item whose choices will be saved]: Specify “Choices for Master Verification” from Step 1
When Building from String-type Data Items
You do not prepare a Select-type Data Item. In the [Update Choice] Step, configure the following items in addition to the common settings:
- [Source of Choice]: Specify “Compose choices from String type data items”
- [String type data item that holds choice IDs]: Specify “Customer ID List”
- [String type data item that holds display labels]: Specify “Customer Name List” (if omitted, the Choice IDs will be used as Labels as-is)
- [Property Columns]: Specify when assigning choice properties (see below)
When assigning choice properties, prepare a String-type Data Item for each property. If assigning a person in charge for each customer, prepare a String-type (Multiple lines) Data Item named “Staff List” and list one entry per line just like in “Customer ID List”. For rows where a customer has no assigned staff, leave the line blank rather than shifting subsequent entries up. In the following example, the second line (the row for C002) is blank.
Staff List:
Sato
SuzukiEnter the property name (e.g., staff) in [Column Name] under [Property Columns], and specify “Staff List” in [Data Item]. To assign multiple properties, add additional rows to [Property Columns]. For [Column Name], use single-byte alphanumeric characters and underscores. The first character must be a single-byte letter or an underscore. Other characters, such as Japanese characters, cannot be used in column names. Up to 50 Property Columns can be defined.
The names entered in [Column Name] are listed inside the <columns> element, and each choice receives its value via an attribute formatted as prop- followed by the column name. With this configuration, a Choice Master XML with the following content is saved (line breaks added for readability). Because “Staff List” is empty for row C002, the prop-staff attribute is omitted.
<?xml version="1.0" encoding="UTF-8"?>
<items>
<columns><column>staff</column></columns>
<item value="C001" display="Aozora Trading" prop-staff="Sato" />
<item value="C002" display="Iroha Industries" />
<item value="C003" display="Uminoki Corporation" prop-staff="Suzuki" />
</items>For how to write choice properties in Choice Master XML, refer to “Creating a Choice Master XML with a Text Editor or the Modeler“, and for how to use choice properties, refer to “Assign Properties to the Choices of a Select-type Data Item“.
Checking the Saved Choice Master
When a Case passes through the [Update Choice] Step, the choices are saved as a Choice Master XML (add-on file). Depending on the specified type, it is displayed under [App-Shared Add-ons] in System Settings (the “Master file of Select type data items” list) or under [Add-ons] in the App, and can also be downloaded in XML format via the download button.

Once created, whenever customers are added or removed, simply update the String-type Data Items (Customer ID List and Customer Name List) and run the Step again. The “Customer Master” Choice Master will be regenerated with the latest content.
Registration Destinations and Privileges
The add-on file saved by [Update Choice] is placed either in [App-Shared Add-ons], which is shared across multiple Apps, or in [Add-ons] for each individual App. For details on where to register, required privileges, and update practices, refer to Creating a Choice Master XML with a Text Editor or the Modeler.
Combining with External Data
A common workflow pattern is to retrieve data from an external service, save it into String-type Data Items, and then convert it into a Choice Master XML using [Update Choice]. Refer to the following articles for methods on retrieving external data:


