- Tue Sep 15, 2020 1:10 am
#828412
but how can i open your attachment file?
Ironguts25 wrote: ↑Sun Sep 13, 2020 8:32 pm Hi,thank you very much
that is an interesting problem. So you want to choose who will get assigned to the "3rd" task based on what word the user logged selects in the first task?
There are probably many ways to manage this. My thought is to start with a drop down list with the appropriate selections i.e. Buy (Key 1,) Sell (Key 2), Return (Key 3) and so on. Then create a trigger that assigns a user name (hard coded username for Alex, Rebecca etc.) from the database to the selection, and use that username to find the usr_uid that will be store in a @@ variable. That variable name will be put in the "Variable for Value Based Assignment:" when you select the Value Based Assignment Rule in task 3.
The Trigger should be set to fire "Before Routing" in the first task.
I've attached an example process that may help to explain it better. Also, I hard coded the user names in the Trigger for simplicity and demonstration purposes but a better approach would be to use User Groups and assign users to the appropriate group. That way you don't have to change the code if the user changes. I can show you how to do that as well but I just wanted keep it simple for demonstration purposes.
I hope this is helpful.
but how can i open your attachment file?