I have a requirement to update the integration points (with .NET code) which are configured in environment variables (ENVs) in our BAW UAT environment (Process Server).
- One way to update the ENV which I know is to update the environment variables in Process Admin portal by opening each process application and update the ENVs there.
- The other way is to update the ENV is to use tw.env.update(envVar, newValue);
But both above ways are time consuming and manual efforts are required to update the ENV because in my case we have to update almost 400 ENVs inside about 140 process apps on a Process Server.
My requirement is to update each ENV which ENV name is starting with a String (EformsURL) and replace the subset of the value of the environment variable. The subset of the value which needs to be replaced is "http://ef1vcolvt/EformsIIV/" with "https://eformsClient/eformsSource/"
ENV Name: EformsURLAccountOpeningSudanInternational
Existing ENV Value: http://ef1vcolvt/EformsIIV/AccountOpeningSudanInternationalPage?
New ENV Value: https://eformsClient/eformsSource/AccountOpeningSudanInternationalPage?
Your input or suggestions would be highly appreciated and will help me to provide the better services to my client.
------------------------------
Muhammad Haris Khan
------------------------------