cancel
Showing results for 
Search instead for 
Did you mean: 

Text to Environment Variable

Kirti
Level 2
Hi Guys,

Is there any action or way by which if we pass environment variable name in process startup parameters, it will fetch the data of environment variable of that name?

------------------------------
Kirti .
Operation Executive
Asia/Kolkata
------------------------------
2 REPLIES 2

AstridStollberg
Level 6
Hi Kirti,

I don't really see a good use case why you should do such thing.

You can get the value of an environment variable by using a data item with the name of the Environment Variable and setting exposure to "Environment - read the corresponding Environment Variable from System Manager". You can then use this data item in your process.

If the parameter you want to pass to the process as startup parameter is not dependend / fixed for the respective environment, then just pass it as "normal" parameter and don't (mis)-use an environment variable.


------------------------------
Cheers Astrid
------------------------------
Cheers [FirstName]

PeterLacken
Level 7

Hi Kirti,

not that I am aware of but I am also failing to see why you would do this instead of just defining the environment variable in the process. If you can share what you are trying to achieve there may be another solution.

Kind Regards,
Peter



------------------------------
PeterLacken
Ren Røros Intelligent Automation
Peter.Lacken@rria.no
http://www.rria.no
------------------------------