Skip to main content
Solved

Automation Anywhere "Formula" Shortcuts

  • December 22, 2022
  • 3 replies
  • 139 views

Forum|alt.badge.img+4

Hey-

 

I’ve noticed that I can convert a string to a number or vice versa using syntax like this:

 

$YourStringVariable.String:toNumber$

 

I find this useful because it saves the conversion step in the interface.  I was interested to know if anyone else has suggestions for more of this type of stuff where I can use shorthand or “formula-ish” language in place of the interface?

 

For example…..stuff like this:

 

Can I split a string and get the position of X element in one “formula”?

 

Can I string out specific text based on start and end in one “formula”…. rather than the clunky interface?

 

Basically common shortcuts to cut out additional steps…..

Best answer by Padmakumar

Hi @Matt 7768 ,

 

Please access below link to get further details on this.

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/using-variables/type-casting.html#

 

View original
Did this topic help answer your question?

3 replies

Padmakumar
Forum|alt.badge.img+15
  • Flight Specialist | Tier 4
  • 805 replies
  • Answer
  • December 22, 2022

Forum|alt.badge.img+20
  • Most Valuable Pathfinder
  • 2710 replies
  • December 22, 2022

Hi @Matt 7768 

The simplest approach to check this is to place a . in front of the $ symbol at the end of any variable you have.. or checkout documentation shared by @Padmakumar 


Forum|alt.badge.img+4
  • Author
  • Navigator | Tier 3
  • 13 replies
  • December 23, 2022

Thanks so much for the assistance.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings