Skip to main content
New Participant
Jul 13, 2021 11:20 AM UTC
Solved

MNI index in subprocess

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.

stewart.burchell
Employee
Jul 13, 2021 12:40 PM UTC

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
Jul 13, 2021 11:26 AM UTC

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

ramb0002Author
New Participant
Jul 13, 2021 11:58 AM UTC

stefanhelzle0001
Brainy
Jul 13, 2021 12:38 PM UTC

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

stewart.burchell
Employee
Jul 13, 2021 12:40 PM UTC

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.