Create Article using Transition Action

Moderator: crythias

Post Reply
amedina
Znuny newbie
Posts: 22
Joined: 22 Jun 2016, 22:03
Znuny Version: 5.0.7
Real Name: Alberto Medina
Company: Maritima Dominicana, S.A.S.

Create Article using Transition Action

Post by amedina »

Hi
I'm creating a Process in OTRS 5, so far everything is working fine. I want to create an external-note in the ticket when when the process pass to the last activity. I have create the Transition Action with this parameters:

Transition Action Module: TicketArticleCreate
Key: ArticleType = note-external
Key: Body = "content of the note...."
Key: ContentType = text/plain; charset=ISO-8859-15
Key: HistoryType = EmailAgent
Key: SenderType = agent
Key: Subject = "some subject..."
Key: To = "some customer email"


but the article is not created. All others transition actions get executed (like setting queue, owner, responsible, etc). Could it be some other parameter missing in the config?

Thanks and best regards,
Amedina
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Create Article using Transition Action

Post by jojo »

check the logfile
"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
amedina
Znuny newbie
Posts: 22
Joined: 22 Jun 2016, 22:03
Znuny Version: 5.0.7
Real Name: Alberto Medina
Company: Maritima Dominicana, S.A.S.

Re: Create Article using Transition Action

Post by amedina »

Thanks for your reply,
where can I find the logs?
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 Article using Transition Action

Post by reneeb »

This depends on what you have configured. By default the OTRS logs into Syslog. On Debian/Ubuntu the syslog can be found at /var/log/syslog, on CentOS it is /var/log/messages

You may need to change the "MinimumLogLevel" in SysConfig to debug.
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
amedina
Znuny newbie
Posts: 22
Joined: 22 Jun 2016, 22:03
Znuny Version: 5.0.7
Real Name: Alberto Medina
Company: Maritima Dominicana, S.A.S.

Re: Create Article using Transition Action

Post by amedina »

reneeb wrote:This depends on what you have configured. By default the OTRS logs into Syslog. On Debian/Ubuntu the syslog can be found at /var/log/syslog, on CentOS it is /var/log/messages

You may need to change the "MinimumLogLevel" in SysConfig to debug.

Thanks, I could find the parameter missing (HistoryComment) looking at the logs, it was nessesary make the change to "debug" on the SysConfig as you suggest, now its working.

Regards!
Amedina
Post Reply