I am creating a vehicle rental application. I wanted to change the rental status of the application after the supervisor accepts the task
Here in this process model, how do I get the value after supervisor (supervisor change status node) accepts a task. I want to use write records to change the value of rental status to false.
Could someone help me with this.
Discussion posts and replies are publicly visible
I typically do such things using a bunch of a!save() calls in the saveInto parameter of the submit button. The other option is to add a script task before the "Write Records" node to adjust your values.
I added the script task before write records. I used a custom output and added this in the expression.
and gave this as target value.
This just overwrites a full at the top of record list rather than just updating the record I want it to. How can I fix this.
I tried the script task. But it just overwrites a record at the top of my record list rather than just updating my rental status to false.
You can check with a!update() function, maybe it will be helpful for you.