In a C# class, can somebody explain to me the difference between context.Configuration.NeuronEnvironmentVariables and context.EnvironmentVariables?
I am trying to parameterize the Action property of my Service process step...I feel like it should be using one of these 2 properties but with no luck as of yet.
Tags:
There isn't a difference between the two. One is a direct path to the other. Use context.EnvironmentVariables.
Joe
Well, this appears to be operating differently than you are expecting. Attached is a picture showing a count out of each of these properties. (1.png)
I have defined one environment variable named "ServiceAction". It only shows up under context.Configuration.NeuronEnvironmentVariables.
var action = context.Configuration.NeuronEnvironmentVariables.Where(n =>n.Key == "ServiceAction").First();
gives me this output (2.png)
As you can see from that picture, the value is not coming through for this environment variable, even though i set it under my localhost deployment group (3.png)
thoughts?
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by