Example : how to get a value previously read from a SQL query
A SQL query can be executed through a Service Task. This task stores the result set read into a process property named "result" (if not re-defined). The value stored in that property is expressed in JSON format. Consequently, a specific value inside that JSON string can be fetched by converting the JSON string in a Javascript object and then access the object by referring attributes.
Javascript example related to the query:
generating a JSON string:
Note: if you need to get the email address for the user initiating the process, this is the query to define:
Last updated