Question
Statefarm Insurance
US
Last activity: 27 Jan 2020 9:03 EST
Procedure Automations return NULL value
I have created Robotics solution with many procedure automations and using project configuration files in Root Project
When I run the solution it didn't retrieve the boolean value from project configuration . But when I run same solution without any modification in dev environment with same version it runs as expected and when i run the solution local it runs as expected.
In Runtime.Log it shows {Source object was null!!!}
GC_Activities.Globals.isProd Value: {Source object was null!!!}
Please help me to resolve this
Thanks
If you do not set the default value of a boolean variable in the Properties window, then it will be NULL. Whenever you use a boolean variable, you should always set its default value in the properties window.
I suspect your issue is because in Studio, you are not applying the project configuration correctly. To apply a project configuration in Studio, you must select the configuration from the Project properties window (right-click the project in solution explorer and select Properties). On the Application tab under Runtime, there is a configuration property you can use to apply a project configuration. This will need to be done to all projects in your solution.