Retrieve Multiple Thread Node Output

Good morning,

we want to run a thread marking the multinode option, the problem is that for every time itere has to return some data, right now although we have it as a list in the parent process, it is only staying with the result of one of the iterations we imagined that something like this would happen since an append is not made when retrieving the result. We wanted to do it this way because the thread has to run for several registers and it takes time, so to make it a little more efficient we came up with this but if we cannot retrieve the result this option is useless.

If you can't do it like this, something else occurs to you.
(The process is synchronous)

Greetings and thank you

  Discussion posts and replies are publicly visible

Parents Reply
  • An alternative might be for each sub-process to write its result to a database table, and once all synchronous threads had completed for the parent thread to retrieve all of the results. This will add some time to the process (since i/o is relatively expensive compared to local processing) but you may get that time back by being able to run all of the threads in parallel.rather than run them in a loop.

    Note: you'd need to data to be written in such a way that it could be correlated to the calling process e.g. use the parent processId. You'd also need to remember to delete the data from the table as well otherwise it'll simply grow indefinitely until you conduct some other form of housekeeping on it.

Children
No Data