Change note-type to external when choosing text template

Moderator: crythias

Locked
skommen
Znuny newbie
Posts: 9
Joined: 26 Sep 2014, 16:05
Znuny Version: 5.0.12
Real Name: Eirik Skomakerstuen
Company: Waveit AS
Location: Norway
Contact:

Change note-type to external when choosing text template

Post by skommen »

Hi.

I've created a standard template for Customer-reply from agent.

Is it possible to automatically change reply-type to external when choosing specific text templates? We're experiencing that agents forget to change reply-type to external. Internal is set to default, and will remain so ...

Best regards
Eirik Skomakerstuen
OTRS 5.0.12 | CentOS | MySQL | Multiple OTRS Instances CentOS |
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Change note-type to external when choosing text template

Post by RStraub »

You need an attribute to decide on, to tell OTRS when and what to restrict. If you open up different response templates, you can see that in the URL only the param "ResponseID" changes:

Code: Select all

Action=AgentTicketCompose&TicketID=5666&ArticleID=8270&ReplyAll=&ResponseID=6
So you could try to add an ACL which forbids "note-type-internal" and set the filter to "Action = AgentTicketCompose" and "ResponseID=YourTemplateID".

This is not tested and just a suggestion.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked