Get and use email address of user running app
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi there, is there a way to get the email address of the user running an app on the gallery?
I was thinking of adding a checkbox to each workflow/app that would indicate whether they want an email notification (Event after run w or w/o errors), but not sure how to dynamically get their email address.
Solved! Go to Solution.
- Labels:
- Apps
- Best Practices
- Events
- Gallery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @mcha54,
The email address may be more difficult, as I'm not sure where you will get that reference from. However, you can get the UserID of the logged in user. This is by using a hidden TextInput function (__cloud:UserId).
See this blog post for more information on how to use it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @mcha54 ,
Yes, this is possible by joining the __cloud:UserID to a stream that utilizes the Mongo Input tool. See attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have workflows that do this, it's really necessary to pass through the user ID of the person running the app or workflow, but I can't seem to get it to work in version 2019.3. Am I alone in having this problem? @KaneG have you tested this for 2019.3 or is there a new improved way to do the same thing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
UPDATE: This is actually working fine. I did have the interface tool set up correctly, but forgot that our QA instance has different user ID's than our PROD instance and so it was not matching and returning results.
