Hi All,
Here is my use case and problem.
I have an app that would usually run scheduled in server using a bunch of parameters. However, I also want people to be able to go into server, find the app and feed their parameters. The flow should then figure out which parameters to use: the default ones, or the ones given.
I figured using variables like __cloud:UserId and Engine.GUIinterface would get me there, but both remain empty when the app is started from server. I would expect at least a UserId to not be empty.
Does anyone have an idea which variable will get me there?
Here's the scenario's:
1. Someone runs the app from designer (GUI = True, UserID = null) Flow will use user given params. This is good.
2. Someone runs the app from Server (GUI = False, UserID = null) Flow should use user given params, but now uses defaults. I expected UserId to return an Id to define the scenario, but it returns nothing.
3. Flow runs on a schedule (GUI = False, UserID = null). Flow uses default params. This is good.
Basically I'm saying or want to say: IF GUI = TRUE or Some other variable that indicates manual prompting (in gallery) then use user given params. Otherwise, use defaults.
Any input would be appreciated.