How to update process variable after a node in process model?

Suppose I have a process variable with a value at the Starting of the process model as

pv!variable: ER which returns some list of dict. coming from database table .

now after I complete a task the db table gets updated, now I want pv!variable to be updated with new values from db table.

Can you help ?

How to update it within the process model?

  Discussion posts and replies are publicly visible

Parents Reply
  • +1
    Certified Lead Developer
    in reply to arshbirs0001

    I assume for storing the values into the db you must be using the write to data store entity smart service.
    If yes , then in the output tab of this write to data store entity smart service you will have an activity class parameter named StoredValues .You can save the value of this parameter in your process variable to get the updated values which are stored in your db table

    If not you can add a new script node which fetches data from the db using a!queryEntity and stores the output into your process variable

    Hope this helps

Children