Hello,
I would like to know how to call an integration multiple times.I have a series of items stored in one array. I would like to call an itegration for each item in my array.
For example in my script task: a!ForEach(
items: myArray,
expression: callMyIntegration(fv!item)
)
Tks
Discussion posts and replies are publicly visible
I see MNI does not work in integrations to repeat based on number of items.Can you try having a looping flow to run the integration as many times as your array size by keep updating the base URL from array each time incremented in loop.
sorry but I didn't really understand what you mean, can you explain better?
Please ignore my previous post. Try this:1. Have this array in a text type process variable of multiple type2. Use call integration smart service3. In Other tab.. user MNI to repeat calls as per number of items in your array4. Option to choose.. Run one instance for each item in ... input your pv! array5. Choose option to move on when all instances are done below6. This way, integration runs multiple times7. Can capture the outputs for each call using tp!instanceIndex in Data tab accordingly
what is MNI?
Multiple Node Instances (MNI) are used to spawn multiple instances of same node and are configured in Other tab.Try to explore the other tab in nodes.. you'll understand.Please test a simple use case first before trying it on integrations if you're new to MNI concept.