Is it possible to use an ACL to not show close if the value of a service shows "-" or not selected? Like an emailed ticket wont have a service unless an agent picks one. I am looking to make agents pick a service before closing. I am having problems getting the acl to match a dash or null value.
Soemthing like this>
$Self->{TicketAcl}->{'ACL-Name-1'} = {
# match properties
Properties => {
# current ticket match properties
Ticket => {
Service => ['[RegExp]-''],
}
},
# return possible options (white list)
Possible => {
# possible ticket options (white list)
Ticket => {
State => ['new', 'open', 'pending reminder'],
},
# possible action options
Action => {
AgentTicketBounce => 1,
AgentTicketClose => 0,
AgentTicketCompose => 1,
AgentTicketCustomer => 1,
AgentTicketForward => 1,
AgentTicketFreeText => 1,
AgentTicketHistory => 1,
AgentTicketLink => 1,
AgentTicketLock => 1,
AgentTicketMerge => 1,
AgentTicketMove => 1,
AgentTicketNote => 1,
AgentTicketOwner => 1,
AgentTicketPending => 1,
AgentTicketPhone => 1,
AgentTicketPhoneOutbound => 1,
AgentTicketPrint => 1,
AgentTicketPriority => 1,
AgentTicketResponsible => 1,
AgentTicketWatcher => 1,
AgentTicketZoom => 1,
AgentLinkObject => 1,
},
},
};
ACL for a Service not chosen
Moderator: crythias
-
- Znuny newbie
- Posts: 9
- Joined: 07 Oct 2010, 01:38
- Znuny Version: 2,3
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: ACL for a Service not chosen
You might want to search SysConfig or this forum to make service a required field.
However, once chosen, it shouldn't need to be "required" again.
However, once chosen, it shouldn't need to be "required" again.
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
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
-
- Znuny newbie
- Posts: 9
- Joined: 07 Oct 2010, 01:38
- Znuny Version: 2,3
SOLVED: Re: ACL for a Service not chosen
Thanks, found this forum link:
viewtopic.php?f=60&t=7070
This talks about CustomerTicketMessage.pm mine will need the AgentTicketActionCommon.pm file changed(. At around line 1207 in the # services area. paste something like this:
Translation => 0,
####################################ADDED########################################
Class => "Validate_RequiredDropdown ",
###################################ADDED##########################################
Max => 200,
This should make it so if an Agent opens a ticket window and it has Service in it, it will need a selection like the ticket free fields,close window,...
viewtopic.php?f=60&t=7070
This talks about CustomerTicketMessage.pm mine will need the AgentTicketActionCommon.pm file changed(. At around line 1207 in the # services area. paste something like this:
Translation => 0,
####################################ADDED########################################
Class => "Validate_RequiredDropdown ",
###################################ADDED##########################################
Max => 200,
This should make it so if an Agent opens a ticket window and it has Service in it, it will need a selection like the ticket free fields,close window,...