Anonymous wrote:I want to use some JSON data that is sent from another application to make the options of a select tag for a variable, that is used in a process. I know my english is bad, so I'll give an example: we have a process called "processOne" with a variable "house" that should be selected from a list of values using a select tag. The list of options if formed using some JSON data, that we get from another application. The question is where I have to put my code, which gets and parses the JSON data and how I can send it to the corresponding view?
You can define your own "search function" for variable values in your form. You can do this in two ways:
- either you define your own form for the "wait" node and use all Grails features or
- you define a search function for the field; we are using popup windows to show the form; you can do whatever you want in that form, eg. load a list of options via JSON
Please give me a bit of time. I will write this up with more details and code examples.
Anonymous wrote:P.S. thanks for your work on developing such a great engine
Thanks for your kind words. We will go on to enhance and improve GrailsFlow and especially the documentation.
Best Regards,
Stephan Albers