Skip to main content
Question

Custom Package: Retrieving task environment info?

  • May 8, 2023 11:34 AM UTC
  • 2 replies
  • 79 views

DeLo
  • Navigator | Tier 3

I’ve scanned through all the SDK examples, and more. Can somebody share an example of retrieving system information (Machine Name, Username, Control Room URL, etc...) while in the SDK actions?

2 replies

Zaid Chougle
Navigator | Tier 3
Forum|alt.badge.img+9
  • Navigator | Tier 3
  • May 8, 2023 11:58 AM UTC

Hi @DeLo ,

You can use System variable to extract the details you want.


DeLo
  • Author
  • Navigator | Tier 3
  • May 8, 2023 12:02 PM UTC

@Zaid Chougle, in the JAVA code, the system variable does not exist. I’m trying to obtain the exact System information you’re talking about, but in Package Development (JAVA), not when building a task. Any ideas?