Accessing data in another incomplete task

Let's say you have 2 tasks running in parallel and you wanted each person to see each other's work while they are completing it. It seems like the only way to achieve this is to put a "Save" button inside that task that writes to a CDT and returns the user to the task. Any simpler ways you can think of that doesn't involve putting a bunch of loop back in the process?

OriginalPostID-237517

  Discussion posts and replies are publicly visible

Parents
  • @mathieud It might sound bit weird and awkward and in fact I personally wouldn't prefer to so - But how about running a write to datastore smart service function under the editable components so that their values will be saved straight into database and querying the database in the other task? Ideally the values should be saved to ACPs and then PVs and finally into database, but as your usecase demands the data of an active task, the only solution might be to update the database as soon as the user fills in the fields in the Task. In this case you won't need a Save functionality you have described in your question as we are doing it at the field level and further we can make the user stay unaware about this(as he/she might be confused with Save vs Save Changes).
Reply
  • @mathieud It might sound bit weird and awkward and in fact I personally wouldn't prefer to so - But how about running a write to datastore smart service function under the editable components so that their values will be saved straight into database and querying the database in the other task? Ideally the values should be saved to ACPs and then PVs and finally into database, but as your usecase demands the data of an active task, the only solution might be to update the database as soon as the user fills in the fields in the Task. In this case you won't need a Save functionality you have described in your question as we are doing it at the field level and further we can make the user stay unaware about this(as he/she might be confused with Save vs Save Changes).
Children
No Data