Follow the instructions below to use an Ops Portal Dropdown as an Input Parameter from a Buffer.
1. Create a Buffer for Dropdown selection. Below is an example of what the buffer looks like.
2. Add a name and set the type to string on the flow’s input parameters. The flow will be executed via the Ops Portal.
3. Configure the Ops Portal view: add an Input Parameters Schema as shown in the image below.
1 - Select Designer
2 - Name of the field
3 – Select buffer value type
4 - Config - Buffer ID, display field, value field
5 - Click the tick button to accept and save the view
Ensure the name of the field matches the input parameter name on the flow.
This below config is used in (4) in the image above.
{
“bufferId”: “BufferIDGoesHere”,
“displayField”: “FieldNameInBuffer”,
“valueField”: “FieldValueNameInBuffer”
}
4. In the Ops Portal, the dropdown values will be loaded from the buffer as shown in the image below and the selected value will be passed to the flow as a string.