HTTP select works well when you’re returning a JSON doc, however what if you want to define a single property which contains an array and you want to display this array in a drop down. The answer is to make the property value a JSON doc in itself
First, create the new property containing a JSON array of custom items you want to display (i.e. things you can’t get from the standard UC REST interface
You can now call this via REST as follows (In this case I’ve define this as an application property)…
Now define an application or component process prop as follows
Now when you run the process you’ll be able to set your input with an item from your custom array ….
No comments:
Post a Comment