How do I fetch value after I accept a task?

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

Parents
  • 0
    Certified Lead Developer

    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 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.

  • 0
    Certified Associate Developer
    in reply to anands900362

    You can check with a!update() function, maybe it will be helpful for you. 

Reply Children
No Data