VBS check environment running to set environment dependent values — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

VBS check environment running to set environment dependent values

in Sales 2 comments

Summary:

Hi, we are implementing logic in VBS that need to set an ID variable (SalesMethodId for opportunities). This Id depends on the environment we are running, as the same logic value will hold different ID, for example:
3000000000001 for development
3000000000002 for test
3000000000003 for production

We can't use the corresponding name since it could be subject to business requirement change.
Is there a way in VBS to check the current running environment (for example the URL) to set the corresponding environment dependent value?

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

25B

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!