I have a custom property that is created daily with a vRO workflow. I'm pulling data from ServiceNOW into a dropdown property on a daily basis. I use this property on several blueprints with custom forms. (The workflow goes... get data from SNOW, delete the existing custom property, create the custom property with most recent data)
What I'm seeing is that the custom property is not getting updated in the custom form. It has the values that were present when I created the BP. The only way I've been able to get the current values is to delete the dropdown from the form and add it back in. Since I have many BPs and this is not the only custom property I'm seeing this with, the burden to maintain is unreasonable.
Is this a known issue, any fixes or workarounds?
As far as the custom form goes it's just another custom property. There is a vRO workflow that as I mentioned, deletes the property, and recreates it daily. I could be doing this manually with the same result.
The trouble is that you have configured your property definition with a static list. If you inspect the custom form element and click "Values" you will see the static list. Deleting and recreating the property won't update that list on the custom form.
What you should be doing is binding your custom property to a vRO action that returns the values. It either queries SNOW dynamically or if that's too slow/only necessary once per day, then your current process should write the values somewhere local (e.g., resource element or a key-value store if you have one). The action bound to the custom property then queries that local source and returns the array of strings.
This way loading any form (default or custom form) will always pull the latest information.