Create Slave Tickets When we create ticket?

English! place to talk about development, programming and coding
Post Reply
williamrobert1983
Znuny newbie
Posts: 94
Joined: 24 Oct 2013, 11:24
Znuny Version: 3.1.1
Real Name: William
Company: Xchanging

Create Slave Tickets When we create ticket?

Post by williamrobert1983 »

Hi all,

When we create Ticket from AgentTicketPhone, we are trying to create more then 10 slaves ticket for the particular queue. I am using Kernel::System::GenericAgent::CreateCompositeOffBoard (execute custom module) under generic agent to create salve tickets in otrs-3.3.2 version. When we create slave tickets, it will take bit time to create slave tickets in back end. Is there any best way to create slave tickets from the back end. Please advice me.


Thanks,
William
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Create Slave Tickets When we create ticket?

Post by reneeb »

Do you use the event based GenericAgent or the time based? I do not understand your question. Where is the problem? Are the slave tickets created by the GenericAgent? Are there any error messages?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
williamrobert1983
Znuny newbie
Posts: 94
Joined: 24 Oct 2013, 11:24
Znuny Version: 3.1.1
Real Name: William
Company: Xchanging

Re: Create Slave Tickets When we create ticket?

Post by williamrobert1983 »

Ticket has been created event based by generic agent. Also, i am calling one file in Kernal::System::GenericAgent:Myfile which has created slave tickets.

The slave tickets created and its not a issue. But, if we use more then 20 slave tickets, the system bit slow.

I just asking you that any other way create slave tickets by event based. otherwise, no issue :)

thanks
williamrobert1983
Znuny newbie
Posts: 94
Joined: 24 Oct 2013, 11:24
Znuny Version: 3.1.1
Real Name: William
Company: Xchanging

Re: Create Slave Tickets When we create ticket?

Post by williamrobert1983 »

Please anyone advice how to create slave tickets using generic agent after creating ticket through the AgentTicketPhone page.

We have some 10 queues and need to create slave tickets for those queues after creation ticket from AgentTicketPhone page.

How to create slave ticket for those queues in the backend once when click create button in the TicketPhone page?? :(


Thanks,
WIlliam
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Create Slave Tickets When we create ticket?

Post by reneeb »

Create a script that creates the slave tickets.
In the custom module you call that script - and you have to run it in the background!

That way you still have the genericagent, but you have decoupled the ticket creation (master) from the process of creating the slave tickets.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
williamrobert1983
Znuny newbie
Posts: 94
Joined: 24 Oct 2013, 11:24
Znuny Version: 3.1.1
Real Name: William
Company: Xchanging

Re: Create Slave Tickets When we create ticket?

Post by williamrobert1983 »

Ok. thanks.
Post Reply