How to generate incremental ticket numbers through the Schedule API workflow on a list

Just like the title states, I am having an issue with generating incremental tickets numbers through the action: “Schedule API workflow on a list”.
I have a repeating Group which consists of list of items that user have selected parts.
Which I want to create a single ticket for each items on the RG.

I currently have the whole system setup but the list is compiling all the items into one single ticket.

I think I understand why it’s functioning this way but…
Is there a way to pass down the index of the repeating group so i can add that index to the current number of tickets for each incremented tickets?

So for example, application already has 902 tickets in the database. and user wants to create 20 new tickets. After they selected their parts to submit, they are submitting the
1st item would have ticket generated as #903.
2nd item would have ticket generated as #904.
3rd item would have ticket generated as #905.. and so on.

1 Like

Use a recursive WF instead.

3 Likes

Thank you for pointing me to right direction! Worked perfectly

2 Likes