You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Random assignment

Received Response
15
Views
1
Comments
edited Apr 29, 2019 7:42PM in Integrations and APIs 1 comment

Summary

how to assign a random agent of a group through PHP code.

Content

Hello, I need information on how to assign a random agent of a group through PHP code. What I want to do is that when a button is clicked, the queue must change and an agent of that queue must be assigned. Please help me with information on how to assign an agent of a group through PHP. The code bit is the following: $ incident-> AssignedTo-> Account This piece of code allows searching and finding the value that contains the "Assigned" field of the object "Account". What I need is to assign to that field a random agent from

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!