Is it possible to display a certain value in an Action form dropdown but in the background render that value to another value?
Similar to Slate’s “Raw” and “Display” values, and also similar to “Define options manually”
However, my dropdown values come from a an Object set - so I would need one object property to be used as Display, and other as “Static value”
My use case:
User selects an user group based on name e.g. “GROUP_FINANCE_SENSITIVE” from a dropdown menu in an Action form and submits, but in the background I need to convert that group name to a Multipass ID e.g.“08654400-db3f-4g30-bf48-4eb4339a21e0” to use in a Webhook.
Where is the selection of groups coming from?
Can’t you just use the “Group” option in your screenshot? This will prompt the user to choose a MP group but will store the MP ID.
Otherwise, you could still create a mapping dataset (that would back an object) and use that object in the form (or directly in Workshop) to choose whether the display or raw value is used in the Action
This would almost work, but with Groups the dropdown will contain the full list of groups on the platform - I need to narrow it down with some logic - depending on other selections in the form - therefore I populate this dropdown with objects (and links).
But question is more generic for other types of properties as well.
I want to display the group name in the Action dropdown for the user to select, but what actually gets passed to the downstream Webhook is the Multipass ID.
I solved this by using a Function where I do the mapping.
It would be cool if one could select “Display property” and corresponding “Raw property” from the same object.
One no-code option is to use a separate object type for the mapping. The action dropdown could show the formatted strings, and then the object’s unformatted string parameter could be used in the action configuration.