I need to add the current iterator index into a field. So for example if the array has 4 items I need to extract the item number currently being used in the bundle (1,2,3,4 or 0,1,2,3) so I can at a 3 if this is bundle number 3.
Hi there,
Most of the bundles I’ve processed have the following two variables in them that might be of use:
Bundle Order Position
Total Number of Bundles
Do your bundles have these?
And if you need to process the bundles in a specific order you can probably get them into an array, sort them and then use an iterator.
I or perhaps someone else can give more specific info with more details of your scenario / use case.
To allow others to assist you with your scenario, please provide the following:
1. Relevant Screenshots
Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.
You can upload images here using the Upload icon in the text editor:
2. Output Bundles of Modules
Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.
Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
B. Insert as Formatted Code Block
If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:
Method 1: Type code block manually
Add three backticks ``` before and after the content/bundle, like this:
``` content goes here
```
Method 2. Highlight and click the format button in the editor
Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.
Following these steps will allow others to assist you here. Thanks!