You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In parallel Loop Conditions it is possible to hand over a specific position of an array variable to a task/service. E.g.
Parallel Loop i To cr.parts_count
paintingAndCuttingTask
In
cr.sheet_parts[i]
However, it is not possible to specify such a field position as output. As a consequence, it is not possible to specify an output for parallel loops since there will be a loss of data if the whole array is defined as input and output, e.g.
cr{
sheet_parts = [0,0,0],
parts_count = 3
}
Parallel Loop i cr.parts_count
paintingAndCuttingTask
In
cr.sheet_parts
Out
cr.sheet_parts
Here, each of the parallel tasks get the initial input value sheet_parts = [0,0,0]. Since the output of each task writes the variable cr.sheet_parts, the results of the first two paintingAndCuttingTasks that are finished are lost and only the one that finished last is saved.
The text was updated successfully, but these errors were encountered:
Partial. The main issue is that when individual array elements of a variable are passed as input to a service or task within a parallel loop, these array elements should be able to be placed at the same array position as output of a service/task. Currently, it is only possible to return the entire array and thus the values from individual tasks are lost since the entire array is defined as output and stored in the same variable. Therefore, for each individual output of the parallel loop, a new value is assigned to the variable instead of just a single array position within the variable
In parallel Loop Conditions it is possible to hand over a specific position of an array variable to a task/service. E.g.
However, it is not possible to specify such a field position as output. As a consequence, it is not possible to specify an output for parallel loops since there will be a loss of data if the whole array is defined as input and output, e.g.
Here, each of the parallel tasks get the initial input value sheet_parts = [0,0,0]. Since the output of each task writes the variable cr.sheet_parts, the results of the first two paintingAndCuttingTasks that are finished are lost and only the one that finished last is saved.
The text was updated successfully, but these errors were encountered: