I am trying to use the capability in an action to select a value to get the options for the dropdown from an object set, while also giving users the ability to add a new custom option if they don’t see what they need. I then want those new options entered by users to be appear in the future as default dropdown options, which is why I am trying to use the self-reference capability against the property of the object in the dropdown options
However, when I try to do this, no options are appearing in the dropdown. Is this because the property is an array type string and so this is breaking it somehow?
I’d suggest trying what you mention of making it a singleton rather than an array and see if it then works, you could well be correct that it doesn’t work reading from a string array. to clarify, it sounds like you want:
a property that stores the current value
a property that stores the set of possible values for that particular object instance to switch between
and not:
a property per object storing its value
once a value has been chosen on the property for one object, making that option available to other objects of that type
For the former, storing existing chosen values on the object you made the choice on sounds appropriate, but for the latter, you’d want a separate object or object set to store the values on, so as not to tie it to the individual object you’ve already edited.
I understand the ask now. The specific request is to be able to populate a dropdown’s options on an action form with the values gained from this algorithm:
take value of string array for each object in the set
union to get an array of arrays
flatten to get a single array of string options
And then when you choose a subset of that in the dropdown, write back to the string array property of the object you’re editing.
This is not currently possible natively through the default configuration of actions.