Available VARIABLES <OTRS_ ...>

Moderator: crythias

Post Reply
gawkla
Znuny newbie
Posts: 69
Joined: 15 Jan 2015, 16:48
Znuny Version: 6.0.6

Available VARIABLES <OTRS_ ...>

Post by gawkla »

Hello community
A seen this question asked many times but final solution is hard to find.
Is there any official documentation about available variables???

I found this site:

http://otrstags.blogspot.com/

any other documents? This blog seems to be good starting point but I am not convinced that this is full list?

Other question:
Is there any variable holding "email address / name" of person who send last follow-up article?

I have notification send to owner / responsible.
I would like to have it configured like:

xxxx wrote follow up message:
[below message - email - body].

<OTRS_CUSTOMER_BODY[30]> works well [for last email message body].
But how to get sender parameters of last follow-up email? [name or email person who send last email]
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Available VARIABLES <OTRS_ ...>

Post by crythias »

I don't think there's a possibility to get the last article's sender. Note that AutoReply already does react to the sender.
https://otrs.github.io/doc/api/otrs/sta ... et.pm.html
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
1soproni
Znuny newbie
Posts: 17
Joined: 07 Dec 2015, 18:19
Znuny Version: 5.0.4
Real Name: Csaba Németh

Re: Available VARIABLES <OTRS_ ...>

Post by 1soproni »

How can GenericAgent use these variables?
E.g.: I want to change the title of the ticket to '[<OTRS_TICKET_CustomerID>] <OTRS_TICKET_Title>'
How can I do it with GenericAgent?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Available VARIABLES <OTRS_ ...>

Post by jojo »

not possible without development
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
hkais
Znuny expert
Posts: 287
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Available VARIABLES <OTRS_ ...>

Post by hkais »

The generic agent uses since otrs 6 the variables.

here you can find a good overview of the variables: https://itgovernanceportal.com/available-otrs-variables-for-automation/
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
Post Reply