Skip to main content

Automator variables


Forum|alt.badge.img+2

Hello,

 

Many times when using Automator i aggregate some inputs, by sample to create an user i ask firstName, lastName, domain then i aggregate <firstname>.<lastname>@<domain>.

 

Would be very cool to be able to create a variable to store the value and then be able to use it in every steps in automator, instead i have to re-aggrate in every step ^^

Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+2
  • Author
  • Contributor
  • 7 replies
  • October 12, 2023

Erf this should be posted in Ideas and not here sorry ^^


eeha0120
Skilled Expert
Forum|alt.badge.img+12
  • Skilled Expert
  • 777 replies
  • October 13, 2023

Hi @cbarroso ,

May I ask how are you performing the aggregation?

That is something you can actually do.

Using your example:

You can name the expression as you wish, and it will have an E#; then you can refer to E#.result, which can be used anywhere in the workflow.

 

Hope this helps.

 

 

Regards,


Forum|alt.badge.img+11
  • Skilled Expert
  • 170 replies
  • October 16, 2023

TY for highlighting this shortcoming, @cbarroso - you are correct, I can confirm that you cannot reuse Expression results over and over in the WF - they have to be in the same condition set and precede the Action node to be accessible by Action Nodes.

 

 

So Condition > Expression > Action > Action will work with the same Expression Result and the 2nd row of Condition > Action has no Expression Result available.

While Condition > Action > Expression > Action will only grant access to the Expression Result for the 2nd Action node.

If you make an Idea out of this pls @ me and I’ll upvote it.  :-)

 

 

 


Forum|alt.badge.img+2
  • Author
  • Contributor
  • 7 replies
  • October 16, 2023

Thx u guys! ill try this next week!!


Reply