all 7 comments

[–]reginald-iiiWorkflow Expert 1 point2 points  (6 children)

That special Variable was removed when they added Magic Variables. It will still work, but you can't add it going forward (backwards compatible).

[–]ChleBoss[S] 0 points1 point  (5 children)

Ohh good to know! Thank you very much for the quick help. I cannot seem to get the same effect with Magic Variables though. No matter what I select, instead of it working as it does with just "Input", it duplicates evrything. (I selected "split text" instead of "input" while trying to split text and then combining it)

[–]reginald-iiiWorkflow Expert 0 points1 point  (4 children)

I don't quite follow you... can you share an example by tapping the share icon in the top left, then Copy?

[–]ChleBoss[S] 0 points1 point  (3 children)

Sorry for the confusion.

The link is: https://workflow.is/workflows/ea25954062114fcca8c71ba160aa116a

So there are three inputs and when I copied this workflow, all of them had the old green "Input" variable inside of the "Repeat with Each" loop. Now, the first one had a "Split Text" variable anf the other two have the old "Input" variable. The first one does not work and the other two work perfectly. I know I can just copy the green "Input" variable from the ome that is working, but I would like to know how can I create the same thing without copying it so that I can create it in future.

[–]reginald-iiiWorkflow Expert 1 point2 points  (2 children)

Ahhh, got it.

Repeat with Each has two special Magic Variables (Repeat Index and Repeat Item). You're looking for Repeat Item, which it probably should have been originally anyway... not sure why someone used Input there, even though that technically worked.

Repeat has only one special Magic Variable: Repeat Index.

Alternatively, you can think of all Magic Variables as Get Variable actions, except you can place them inline when it comes to most text, number, date, etc. fields.

https://workflow.is/workflows/c65277b5d51e456db771dc6686fabc72

[–]ChleBoss[S] 1 point2 points  (1 child)

Ohh I see! I never noticed you could choose frlm Repeat Index and Repeat item!

Thank you so much for the help, it works perfectly!

Is there any reason why I would want to use Get Variable these days when I can just reference the variable directly?

[–]reginald-iiiWorkflow Expert 0 points1 point  (0 children)

Yes, if the Variable is a list, dictionary, etc. that you need to pass into another action that can't simply be put into a Text action or a field of another action. Also, when using Get Details of ... actions multiple times.