Conditional Move to Queue

Moderator: crythias

Locked
ShlomiBenAmi
Znuny newbie
Posts: 2
Joined: 19 May 2014, 14:15
Znuny Version: 2.4.5

Conditional Move to Queue

Post by ShlomiBenAmi »

Hi there,

I have a problem in my OTRS system and I need some ideas from you guys!

I have a special queue, let's call it "X". I have a GenericAgent running every 10 minutes to look in that queue "x" for new tickets and take them and close them and transfer their contents to an external system. However, this script works only, if the customer ID is a valid customer ID from another external DB, in my case the customer ID is only valid if it is numerical.

Now, sometimes when customer sends in a ticket, the customer ID in OTRS is set to the sender email address and not to the customer ID from my other database.

I want now to prevent my Reps to move tickets into queue "x" without making sure that a valid customer ID is set (a numerical one).
Can I do either of the following:
1- in case a rep tries to move a ticket into that queue "x" to have a popup coming up telling him to make sure the customer ID is valid
2- or to prevent a ticket from being moved into that queue "x" if the customer ID is non numerical.

Or any other ideas to solve that are welcome, too! ;-)

Thanks!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Conditional Move to Queue

Post by crythias »

write a generic agent module and don't let agents have any ability to move into that queue. (You'll have to add a move-into permission in SysConfig)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked