I’m looking to add oTrans.CoreSession.Appserver text to my BPMs to identify the difference between my Pilot and Live environments.
callContextClient.CurrentCompany is the same in them? If not, that field is available. Alternatively, you could stash that value in callContextBpmData.Character01 to be used in the BPM if it’s fired from a screen.
Not sure if this is available in your version.
(this.GetEnvironmentType() == Ice.Lib.Bpm.Model.EnvironmentType.NonProduction))
```
There is a condition check that checks if the environment is production of non production. This is just the dumped source from this condition. in 10.2.700 you need to configure the dump sources in the host.config (or the web.config can't remember) but there is documentation for setting that up.
Easier way to see all that stuff without digging under the covers is. To upgrade to a later version..... Just saying.
1 Like
Thank you, Marjorie, for your suggestion. I was thinking the same thing about getting the value from oTrans.CoreSession.AppServer stores it in a table field and then grabs it from the BPM.
Hally, my Epicor version does support GetEnvirnonmentType(). At first, my environments indicated they were both NonProduction until I discovered the Set as Production in the Epicor Administration Console.
Thank you for your help!!!
1 Like