Trying to set up a flag that will collapse some containers based on whether the app is being run on demand or as part of a scheduled run. I'd like the analytic app to ouput file(s) to a directory if run by the scheduler but collapse that container if run on-demand in the gallery. Is there a way to do this? I know there is an Engine.GuiInteraction variable that will return 1 if run from designer or 0 if run on server. But can I distinguish between the two different runs on the server?
Solved! Go to Solution.
Found a solution so closing this. Posting my workaround in case others might find it helpful. I basically created a text input where I set [ScheduledRun]='Yes'. Then I added an interface tool with a dropdown where 'No' is the only available value to select. So if run from the gallery on-demand, that will force the valeu for [ScheduledRun] to be updated to 'No'.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |