Skip to main content
December 11, 2024
Solved

Is it possible to make main process wait until all instances of MNI complete

  • December 11, 2024
  • 2 replies
  • 0 views

I have a process for bulk action in a grid, in which there is a MNI, in each instance it writes records to db. I want all records auto update after user submit without extra refresh. How can I achieve this?

Currently only one row can be auto updated, rest of all need a refresh to show latest record

    Best answer by mathieud0001

    Did you make sure to select the "All instances are done" option as well as chaining each node.

    You can either refresh the values in the interface using the startProces onSuccess or via the refreshVariables.

    As [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05]  mentioned, you might not even need MNI to do this, it could be a regular Write Records node that just writes multiple records.

    2 replies

    stefanhelzle0001
    December 11, 2024

    Did you enable activity chaining?

    What kind of update is this? To just write a bunch of records, you do not need MNI as the Write Records node also works with lists.

    mathieud0001
    December 11, 2024

    Did you make sure to select the "All instances are done" option as well as chaining each node.

    You can either refresh the values in the interface using the startProces onSuccess or via the refreshVariables.

    As [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05]  mentioned, you might not even need MNI to do this, it could be a regular Write Records node that just writes multiple records.