Date: 9/26/2006 10:04 pm · Subject: Workflow Activities have user session information
Currently the session information available to a workflow is not the USER session information (its the workflow session information, which is next to useless as far as I can see, but I may be wrong).
I'd like for the user session information to be available to the workflow. Then I can get information about where the user is currently on our website (url), and other session information inside the workflow.
Why?
I want to be able to write a workflow activity that adds users to different groups on signup based on where they signed up. As we have multiple sections of our website where signup is allowed and different groups for each section. To do this I need (according to JT) user session information, which the workflow currently doesn't have - hence my RFE for it! :)
- Join us on the #webgui irc channel on freenode! (I use the nick Radix)
Date: 10/2/2006 12:06 pm · Subject: Re: Workflow Activities have user session information
that's not possible. instead, the trigger needs to inject the appropriate user information into the workflow as scratch variables. so which triggers would you like to do this, and which variables should be injected?
Date: 10/2/2006 8:02 pm · Subject: Re: Workflow Activities have user session information
Well for what I want to use it for - I would like the WebGUI::User
trigger to inject the user's url (minus the ?op=xxx part) - this would
allow me to determine where the user signup procedure occurred in the
website and add the user to the appropriate group accordingly.
e.g. if the user started signup from /test then I can add them to the
Test Users group, and if /enquiry then I can add them to the Enquirers
group, etc. I plan on extending the AddUserToGroup workflow
accordingly.
Jesse
- Join us on the #webgui irc channel on freenode! (I use the nick Radix)