Original Message:
Sent: Thu July 03, 2025 05:28 AM
From: Muhammad Haris Khan
Subject: Update Environment Variables in Bulk
Hi Martin Medina,
Thank you for giving very insightful information about /ops APIs. So now I know two set of APIs i.e., /ops and /bpm
I am curious, are there any other APIs also available on some other URL which could be useful for some other operations or activities to play with IBM BAW?
------------------------------
Muhammad Haris Khan
BPM Specialist
GBM Qatar
Original Message:
Sent: Thu June 26, 2025 11:45 AM
From: Martin Medina
Subject: Update Environment Variables in Bulk
Hey Muhammad,
One way you can handle this more efficiently is by using the IBM BAW REST API to update environment variables programmatically...no need to go through each app manually.
POST /ops/std/bpm/containers/{app_acronym}/versions/{snapshot_id}/env_vars
You can find more details here:
------------------------------
Martin Medina
Lead Engineer
Raymond James
St Petersburg FL
Original Message:
Sent: Thu June 26, 2025 08:43 AM
From: Muhammad Haris Khan
Subject: Update Environment Variables in Bulk
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
------------------------------