Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Pulling the user's ID who runs a workflow in the server

adam_rafael_18
8 - Asteroid

Hi, so I am building a workflow that we are looking to upload to our company's alteryx server. Part of the process is knowing who is using the data at the end of the process, so the goal is to pull the user's ID who runs the workflow (we don't want them to manually type it in, since you can type anything in). Is there a way to pull this as a part of the workflow? Thank you!

3 REPLIES 3
fmvizcaino
17 - Castor
17 - Castor

Hey @adam_rafael_18 ,

 

Look at this post and see if this helps you out.

https://community.alteryx.com/t5/Alteryx-Server-Discussions/Accessing-the-logged-in-User-name-in-a-w...

 

Best,

Fernando Vizcaino

adam_rafael_18
8 - Asteroid

Hi Fernando,

 

Thanks for the reply. I was looking at that earlier and was still a little confused. I'm relatively new to API scraping so I felt I was missing a couple of steps there.

 

Big picture first  - using the MongoDB Input tool to pull the data? So based on that, the inputs needed would be:

Server:

Database:

Collection:

 

Is that correct and if so, what links would I use to connect it to the gallery?

 

Thanks again!

fmvizcaino
17 - Castor
17 - Castor

Hi @adam_rafael_18 ,

 

The inputs are inside the Alteryx Server System Settings.

fmvizcaino_0-1660670670364.png

 

Server: localhost:27018

Username: user

Database: AlteryxGallery

Collection: users

 

https://help.alteryx.com/20221/server/alteryxgallery-mongodb-schema

 

Best,

Fernando Vizcaino