Hello Volker,
thanks for your reply. 

I just looked at GenericAgent.pl and tried to combine this information
with some information i found within the developer api (which seems to be very 
good).

I tried to read information on which queues are defined on my system and added 

"my %Queues = $Self->{QueueObject}->GetAllQueues();"

to the GenericAgent.pl (of course with a backuped testfile) ;-)

But when i try to execute my testfile i receive the following error:

Global symbol "$Self" requires explicit package name at ./test.pl line 121.
Execution of ./test.pl aborted due to compilation errors.

I would be glad if you can give me a hint (or a code example of your perlscript)
whicht points me to the right direction.

Regards
Thorsten Müller

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Volker Maibaum
> Gesendet: Freitag, 23. Juni 2006 14:26
> An: Development community of OTRS.org
> Betreff: Re: [dev] Perl Interface
> 
> Hi, 
> 
> I'm not an otrs developer, but I wrote a perl script for our 
> 1.2 OTRS version that can create tickets.
> 
> I think to look at GenericAgent.pl could be a good start (at 
> least for the 1.x versions). You could copy it and modify it 
> for your needs.
> 
> But maybe there are better approaches in 2.x.
> 
> regards, 
> 
> Volker
> 
> Am Freitag, den 23.06.2006, 13:46 +0200 schrieb Thorsten Mueller:
> > Hello list,
> > because this is my first post to this mailinglist i shortly 
> introduce 
> > myself.
> > My name is Thorsten Mueller, i'm 27 years old and live/and 
> work near 
> > Frankfurt/Main (Germany).
> > 
> > I use otrs for a long time (as admin and user) and must say many 
> > thanks to all persons who developped this great application.
> > 
> > Now i want to start developping my own modules for otrs, but don't 
> > know where to start.
> > I started reading the development guide under 
> > http://doc.otrs.org/developer/2.0/en/html/,
> > but find this some kind of confusing.
> > 
> > What i want to do is to write a little perl script which can create 
> > tickets and receives a ticket-id from the otrs system.
> > Within this script i should be able to define some parameters about 
> > which queue should the ticket go and so on.
> > 
> > I would be thankful if someone can point me to a 
> documentation which 
> > helps in this content.
> > 
> > Regards
> > Thorsten Müller
> > 
> > _______________________________________________
> > OTRS mailing list: dev - Webpage: http://otrs.org/
> > Archive: http://lists.otrs.org/pipermail/dev
> > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
> _______________________________________________
> OTRS mailing list: dev - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/dev
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
> 
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Reply via email to