Posted: 14 Jun 2017 13:12 EDT Last activity: 6 Nov 2018 20:02 EST
Use Configuration profile to setup initial string Variables .
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.