Text to Environment Variable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-06-20 12:48 PM
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
------------------------------
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-06-20 08:37 AM
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
------------------------------
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]
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-06-20 04:06 PM
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
------------------------------
