I try to setup the initial values of some automations constants using Configuration profiles . I have got my configuration file and i managed to configure the value of a string variable strconf to true but when i test its vallue after allprojectstated event it is in blank . I set the configuration profile in the project properties but it does not work when debugging inside the studio . what am i doing wrong ?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Make sure the project configuration is located in the root of your project (i.e. not inside a folder). I think the real cause of your issue might be the scope of your variable. Make sure it is global (i.e. place it in a global container or make it global in your automation). Project config values are only applied at startup, so a local variable would really never get the correct value since it is instantiated whenever the automation is run.
Posted: 5 years ago
Posted: 15 Jun 2017 5:06 EDT
Jesús García Rodríguez (JESUSG89)