Use process variable in groovy script
i want to alter/update a row in my local business data model via an operation. The business object gets the value via a process variable. Normaly i would do it with a custom SQL UPDATE query, but Bonita supports only custom SELECT queries. Is it possible to get the right value with a groovy script? (i never worked with groovy before)
newValue = oldValue - someValue
Every value needed is stored in process variables, but i dont know how to get these variables/values in the groovy script. I would appreciate it if someone could give me a hint :)
Found it, but thanks for the read ;P
Whats the solution for that. For the benefit of Everyone, please post your finding.