Accessing the logged in User name in a workflow on server
- 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
We have a use case where we want to use the logged in user name on server to restrict what a workflow shows them.
We don't want the extract the server's own user but the user name of the person logged in and use that in the workflow to filter the output.
In my case that would be my name as shown.
Does anyone know how to access the Alteryx server logged in user name from within a workflow?
Solved! Go to Solution.
- Labels:
- Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I'm pretty sure the missing piece (at least the piece I was missing) is to ensure you select the 'Include Mongo _id Field' checkbox at the bottom of the configuration pane.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This appears to only work when running the workflow from the Gallery, but it returns NULL when called through the webapi. Anyone had success getting the user id when calling the web api?

- « Previous
-
- 1
- 2
- Next »