Skip to main content
July 13, 2021
Solved

MNI index in subprocess

  • July 13, 2021
  • 4 replies
  • 1 view

Hi,

In my process model, i have a node sub process which is having the MNI.

When i am running the PM i getting the number of instances. but in every instance getting the same index (i.e 1).

I am using tp!instanceIndex  in my sub process.Why i am not getting the other indexes in subprocess?

Any suggestions please.

Best answer by stewart.burchell

The sub-process needs to be told which index you want to use so you'll need to pass the tp!instanceIndex from the calling process to the sub-process if you want to use it. As far as the sub-process instance is concerned there's only one instance of itself.

4 replies

stefanhelzle0001
Brainy
July 13, 2021

Please post a screenshot of the tab "Setup" of that sub process node.

ramb0002Author
July 13, 2021

stefanhelzle0001
Brainy
July 13, 2021

You do not pass any data into that sub process. Is that by intention?

stewart.burchell
July 13, 2021

The sub-process needs to be told which index you want to use so you'll need to pass the tp!instanceIndex from the calling process to the sub-process if you want to use it. As far as the sub-process instance is concerned there's only one instance of itself.