We are trying to generate multiple instances of a docX smart service inside a su

We are trying to generate multiple instances of a docX smart service inside a sub process for each item of a PV array. For which we have used the other tab-> Run one instance for each item in [pulldown list]->Spawn all
But while doing so we see the parent process is running multiple times instead of the sub process.
also the DOCX generated has all the items of the array in a single document.

OriginalPostID-168881

OriginalPostID-168881

  Discussion posts and replies are publicly visible

Parents
  • To extract the corresponding item for the particular instance from an array you need to do pv!myArray[tp!instanceIndex].

    tp!instanceIndex increments every time a new instance is started as part of the Multiple Node Instances configuration.

    Make sure to select the option "Move on only once all instances complete" so that the flow doesn't continue until then.

    The configuration should go in the DOCX node not in the sub-process (depending on your use case)
Reply
  • To extract the corresponding item for the particular instance from an array you need to do pv!myArray[tp!instanceIndex].

    tp!instanceIndex increments every time a new instance is started as part of the Multiple Node Instances configuration.

    Make sure to select the option "Move on only once all instances complete" so that the flow doesn't continue until then.

    The configuration should go in the DOCX node not in the sub-process (depending on your use case)
Children
No Data