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 am hoping this is a silly question and there if a variable/constant I can drop into the workflow for this, but I want to bring the username of who is running the app into the workflow to dictate how the workflow runs. Does anyone know what that variable might be?
Workarounds I'd like to steer clear from:
- Handling the authentication through manually maintained authentication tables that I am comparing parameters I give the user (user, pw) . Clunky and multiple areas of authentication.
- Changing configuration of gallery to prompt for credentials before running app. I believe this would also require us granting privileges on the server to run apps for each user we would do this for. And I still think I'd have to use some run command to get that user info.
One follow-up question. I am assuming the output is the subscriptionID of the user and I am trying to map that to the user collection in the MongoDB. What I am seeing is that the subscriptionID that is outputted and the one in the collection are off by the last digit (numerically a diff of 1-5). I'm wondering if this is a case of updated subscriptions/versioning...
Have you seen this before? Is this also the suggested route in getting the user information (joining ID to Mongo instance).
I have several app/gallery/collection reports I built. What exactly are you trying to do? Joining between different Mongo Collections can get convoluted very fast!! If I knew exactly, I might have something already built that I can look into and let you know.
@mbarone Would you mind sharing your Collections app? I'm looking to write the name of the workflow in addition to the user info to a sql server db table. Is there a way to capture the workflow name in the gallery?