ITSM fields on GenericAgent.pm

Hi there, I've been trying to include ITSM items such as SLA or Service in GenericAgent.pm jobs without success :( For non-ITSM items such as Queues, States, Priorities it works like a charm but once I include Service or SLA, they're ignored! Has anyone included Service or SLA as parameters in the GenericAgent.pm file? Any tips on this are much appreciated Thanks, Leonardo Certuche

Hi Leonardo,
Let me first say that I haven't tried reproducing it with
GenericAgent.pm nor I have looked into why it would or would not work.
But what I did is, I tested it with the GenericAgent in the Admin
interface, and **that** works. Could you give me the use case for the
GenericAgent.pm? If it works in the web interface, why would you want
to use the text based interface?
(in other words, what would we need to add to the web interface, for
you to be happy with it?
((enjoy))
-
Michiel Beijen
R&D
OTRS AG
Norsk-Data-Str 1.
61352 Bad Homburg
Germany
T: +31 (0) 6457 42418
F: +49 (0) 9421 56818-18
I: http://www.otrs.com/
Business Location: Bad Homburg, Country Court: Bad Homburg, Commercial
register: 10751, Tax ID: 003 240
97505 Chairman of the Board: Burchard Steinbild, Managing Board: André
Mindermann (CEO), Martin Edenhofer
CU@ CeBIT 2010 in Hannover (Germany) and get to know more about OTRS
at booth no. C37, in hall 2 from March 2-6, 2010! http://bit.ly/7uyQf
On Fri, Nov 27, 2009 at 6:31 PM, Leonardo Certuche
Hi there,
I've been trying to include ITSM items such as SLA or Service in GenericAgent.pm jobs without success :(
For non-ITSM items such as Queues, States, Priorities it works like a charm but once I include Service or SLA, they're ignored!
Has anyone included Service or SLA as parameters in the GenericAgent.pm file? Any tips on this are much appreciated
Thanks,
Leonardo Certuche
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Thanks for your interest Michiel,
The only reason why I chose pm file instead of AdminGenericAgent is
frecuency. AFAIK the web only permits tasks to be run as often as 10min
(even changing /opt/otrs/var/cron/generic_agent-database) but here we have a
2min task to be run so we chose pm file.
About the task involving ITSM fields, we already made it work! here it is:
'mover tickets Criticos a MDS Critico' => {
# get all tickets with these properties
SLA => 'Critico 30min',
Services => ['Inc::Apl AVAYA::CMS::Cambios de
Skill','Inc::Claves::Avaya
IC','Inc::Claves::ININ','Inc::Claves::Red','Inc::Otras
Plataformas::SUIN','Req::Admin Usuarios/Grupos::Cambio de
Piloto','Req::Admin Usuarios/Grupos::Modificar Grupo::Mensaje Disuasivo'],
# new ticket properties
New => {
Queue => 'Mesa de Servicios::Mesa de Servicios Critico',
},
},
My mistakes were first to get only service or only SLA but not both and then
I wrote Service instead of Services but after several tests it worked!
Thanks again for your help!
Greetings,
Leonardo Certuche
301 284 6250
460 0727 ext 5559
leonardo.certuche@itcon-ltda.com
www.itcon-ltda.com
Cra 31 # 54-10 TECNOSOFT
Medellín, Colombia
On Sat, Nov 28, 2009 at 2:51 PM, Michiel Beijen
Hi Leonardo,
Let me first say that I haven't tried reproducing it with GenericAgent.pm nor I have looked into why it would or would not work.
But what I did is, I tested it with the GenericAgent in the Admin interface, and **that** works. Could you give me the use case for the GenericAgent.pm? If it works in the web interface, why would you want to use the text based interface?
(in other words, what would we need to add to the web interface, for you to be happy with it?
((enjoy)) - Michiel Beijen R&D
OTRS AG Norsk-Data-Str 1. 61352 Bad Homburg Germany
T: +31 (0) 6457 42418 F: +49 (0) 9421 56818-18 I: http://www.otrs.com/
Business Location: Bad Homburg, Country Court: Bad Homburg, Commercial register: 10751, Tax ID: 003 240 97505 Chairman of the Board: Burchard Steinbild, Managing Board: André Mindermann (CEO), Martin Edenhofer
CU@ CeBIT 2010 in Hannover (Germany) and get to know more about OTRS at booth no. C37, in hall 2 from March 2-6, 2010! http://bit.ly/7uyQf
On Fri, Nov 27, 2009 at 6:31 PM, Leonardo Certuche
wrote: Hi there,
I've been trying to include ITSM items such as SLA or Service in GenericAgent.pm jobs without success :(
For non-ITSM items such as Queues, States, Priorities it works like a charm but once I include Service or SLA, they're ignored!
Has anyone included Service or SLA as parameters in the GenericAgent.pm file? Any tips on this are much appreciated
Thanks,
Leonardo Certuche
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Hi Michiel, On 28.11.2009, at 20:51, Michiel Beijen wrote:
But what I did is, I tested it with the GenericAgent in the Admin interface, and **that** works. Could you give me the use case for the GenericAgent.pm? If it works in the web interface, why would you want to use the text based interface?
1. I had a lot of workshops where the backend administration wants to setup generic agents that are not changeable in the webinterface. 2. Especialy for service providers (like hosted OTRS) it would be more than useful to have this option!!! 3. including OTRS GA's into other non-OTRS scripts
(in other words, what would we need to add to the web interface, for you to be happy with it?
I think for the case raised this discussion it would be enough to enhance the GenericAgent time settings so you could also set "every 3 minutes" or similar. But as you know, I am a "Why not'er" ... so why shouldn't we include the ITSM values in the file based generic agent? Any reason for say "no"? Cheers, Nils -- Nils Leideck Senior Consultant nils.leideck@leidex.net LeideX.net Nils Leideck - ITSM Greesbergstr. 11 D - 50668 Köln Altstadt-Nord Mobile : +49 (0) 173 2733 892 Tel. : +49 (0) 221 1689 6910 FAX : +49 (0) 221 2711 285 Geschäftssitz: Köln Altstadt-Nord, Amtsgericht: Köln, HRB 10751 Steuernummer: 215/5102/2272, IdNr: 49 303 782 567 http://webint.cryptonode.de / a Fractal project
participants (3)
-
Leonardo Certuche
-
Michiel Beijen
-
Nils Leideck - ITSM