Hello! I am building a chained apps that creates unique files based on the user running the app to avoid saving over the same file when it's running concurrently. I have captured the userid and am writing files with that value to read in as inputs for the second app. The issue I'm running into is there are 2 list boxes that read name/value from an external source and I cannot find a good way to update the file path to reflect the unique users file. Is there a way to dynamically update the file path either with an interface tool or by referencing the userid directly?
For example if I've captured a userid of ######## in the first step, I would like to change the file name from 'userSeedListLoaderListBox.yxdb' to '########SeedListLoaderListBox.yxdb'.
Is this possible or is there any other way to configure the chained app so there's not a risk of overwriting files if 2 users are using the same app at the same time?
If the users is another Windows user, you can use GetEnvironmentVariable("USERNAME") function at specialized category.