I need to find out what Deployment Group I'm In inside a C# Step. Does anybody have a way to pull it?
Tags:
at runtime, you can add a reference to System.Configuration at the Business Process level. then you can do this in the C# step:
var deploymentGroupValue = System.Configuration.ConfigurationManager.AppSettings["esbDeploymentGroup"] ?? "";
this won't work when you're testing within the designer though since the neuron explorer doesn't have the
esbDeploymentGroup app settings in its config file. only the esbservice.exe.config does.
Does that make sense?
Makes great sense, thanks!
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by