CraigP Posted November 7, 2023 Posted November 7, 2023 Is the user ID of the person running an Autotask stored anywhere that can be accessed from the Autotask workflow? I was hoping that there would be some kind of accessible "session" variables like there are for Capture Forms, or at least that the "Auto" option for the User ID on HB Automations like "Get User Details" would use the ID of the person running the Autotask, but this does not appear to be the case.
James Ainsworth Posted November 7, 2023 Posted November 7, 2023 Hi @CraigP Thanks for your post. There is a discussion here that I believe is what you are looking for. The session variable is &[global["session"]["userId"]] I hope that helps.
CraigP Posted November 8, 2023 Author Posted November 8, 2023 Fantastic, exactly what I was looking for, thanks James! It does seem to bring up a "The node is referencing a context variable that does not exist" warning when validating the process, but it worked as intended once published anyway.
James Ainsworth Posted November 9, 2023 Posted November 9, 2023 14 hours ago, CraigP said: It does seem to bring up a "The node is referencing a context variable that does not exist" warning when validating the process, but it worked as intended once published anyway. Yes, it does give that warning. Sorry, I forgot to mention. However, as you have already found, you can ignore the warning.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now