Looping X Times

Has anyone figured out how to loop a number of times? We use Assets heavily, so we’re creating some automation of the creation of assets. For example, I need to create 27 of the same type right now. So, I would like to pass in the variable Qty:27 in the email, but, I don’t see a mechanism to then repeat it that many times…

Although while I’m typing this, I realize I could pass an array of 27 items, and iterate through that array…(no values in the array matter) Maybe I’ll go try that.

Hey @TDawgGCat !

Thanks for posting - sorry I didn’t reply to your email message yet.

Here’s what I do:

Create a new “Match Regular Expression” action, and set the pattern to (?<char>.). Set the subject to aaaaaaa (…27 times), and have the regular expression step return all matches.

Then, iterate over those matches, ignore the values, and do your thing.

Let me know how that goes.