This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I've recently created a series of chained apps which take user inputs and updates subsequent apps.
For example in the first app if the user selects A they are then presented with an option of 1,2 or 3. If they select B, they are presented with 4, 5 and 6 for example. As such all the paths are relative between the apps.
I've been able to upload all five parts to the server without issue and know from past runs of workflows that it can write to a temporary folder. However when I try and run the chained apps, it appears to error between the first and second part and presents the following error message.
Error creating the file " D:\ProgramData\Alteryx\Service\Staging\7400_37dc57665c3a40c9bd2197fc7bfa1cce\Prefix_Dimension.yxdb ":Access is denied. (5) (Tool Id: 18)
I assume that the temporary folder is being deleted between apps? Does anyone know a way of stopping this or getting this to work. We need them to be temporary folders as each run could take 10 minutes and may have multiple people trying to use the app at a single time and we don't want their choices to impact others runs.
You could use normal outputs between the apps and append the gallery username as a suffix. To get the username you would neet to put an interface tool inside the workflow with the following name "__cloud:UserId". That way even if there are many people using the app their data won't get mixed up.
After finishing you can delete these temporary files.
To display values on the interface tools I would recommend you using an yxdb table with two columns (NAME & VALUE). To update the table I would chain before a little app that would update this table before running the principal. This would onlye be used to display the new names on the interface tools since using an excel only wouldn't help you (would always keep the old metadata).