Question

Automation Name in C# Script

HI, i am writing a C# Script in Pega Robotics Studio & requirement: how to get the running Automation Name in C# without using the property FullName. Is that anyother property?

Thanks.

Comments

Keep up to date on this post and subscribe to comments

Pega
November 21, 2019 - 4:58pm

There isn't anything set globally (certainly nothing published)  that would tell you the current automation. I doubt there is one since there's no limit on how many can run at once and in-fact you can run the same automation multiple times at the same time. The best way is to pass the name into your script.