Hello,
New Problem appears to me .
I created 3 queues, and my customer can choose one of them when creating a ticket.
the problem is: Each queue has diferent services, and the customer see all services from the 3 queues.
how can i configure this ? the customer only see the right services for each queue.
thanks
Relation Queue-Services
Moderator: crythias
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Relation Queue-Services
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
Re: Relation Queue-Services
thanks Crythias.. This is what i was looking for.
I try, but it is only working for the first queue. When i put second queue, it does nothing.
can you give an example with 2 diferent queue and services ? so i can know whats wrong with mt code.
thanks.
I try, but it is only working for the first queue. When i put second queue, it does nothing.
can you give an example with 2 diferent queue and services ? so i can know whats wrong with mt code.
thanks.
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Relation Queue-Services
Code: Select all
$Self->{TicketAcl}->{'ACL-Plumbing-or-something-descriptive'} =
{
# match properties
Properties => {
Queue => { Name => ['Plumbing', 'Optional::Other::SubQueue'], },
},
Possible => {
Ticket => { Service => ['toilet', 'sink', 'tub'],
},
},
};
$Self->{TicketAcl}->{'ACL-Plumbing-or-something-descriptive#2'} =
{
# match properties
Properties => {
Queue => { Name => ['Plumbing', 'Optional::Other::SubQueue'], },
},
Possible => {
Ticket => { Service => ['toilet', 'sink', 'tub'],
},
},
};
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: 17
- Joined: 16 Jan 2012, 20:37
- Znuny Version: 3.0.11
- Real Name: Nicolò
- Location: Ferrara (Italy)
Re: Relation Queue-Services
Hi at all,
i did some test for understand the functioning of queue <-> services.
Two queues and for each queue one or two different services.
This is a part of my Config.pm and all works fine.
But I've a problem with the subqueues, I can't set the services to them.
I've created a subqueue of CustomerQueue called CustomerSubQueue.
I tried with this way but doesn't work:
or in this way but nothing, doesn't work:
and even in this way doesn't works:
If i select the queue "CustomerQueue" i can choose between "TestService" and "Servizio2" but if I select the subqueue "CustomerSubQueue" i can choose between all services associated at the user while I want to choose only between "TestService" and "Servizio2".
Any idea??
Thanks a lot.
i did some test for understand the functioning of queue <-> services.
Two queues and for each queue one or two different services.
This is a part of my Config.pm and all works fine.
Code: Select all
$Self->{TicketAcl}->{'ACL-CustomerQueue'} =
{
# match properties
Properties => {
Queue => { Name => ['CustomerQueue'], },
},
Possible => {
Ticket => { Service => ['TestService', 'Servizio2'],
},
},
};
$Self->{TicketAcl}->{'ACL-Customer2'} =
{
# match properties
Properties => {
Queue => { Name => ['Customer2'], },
},
Possible => {
Ticket => { Service => ['AltroServizio'],
},
},
};
I've created a subqueue of CustomerQueue called CustomerSubQueue.
I tried with this way but doesn't work:
Code: Select all
$Self->{TicketAcl}->{'ACL-CustomerQueue'} =
{
# match properties
Properties => {
Queue => { Name => ['CustomerQueue' , 'Optional::Other::SubQueue'], },
},
Possible => {
Ticket => { Service => ['TestService', 'Servizio2'],
},
},
};
Code: Select all
$Self->{TicketAcl}->{'ACL-CustomerQueue'} =
{
# match properties
Properties => {
Queue => { Name => ['CustomerQueue' , 'Optional::Other::CustomerSubQueue'], },
},
Possible => {
Ticket => { Service => ['TestService', 'Servizio2'],
},
},
};
Code: Select all
$Self->{TicketAcl}->{'ACL-CustomerSubQueue'} =
{
# match properties
Properties => {
Queue => { Name => ['CustomerSubQueue'], },
},
Possible => {
Ticket => { Service => ['TestService', 'Servizio2'],
},
},
};
Any idea??
Thanks a lot.
-
- Znuny newbie
- Posts: 17
- Joined: 16 Jan 2012, 20:37
- Znuny Version: 3.0.11
- Real Name: Nicolò
- Location: Ferrara (Italy)
Re: Relation Queue-Services
Solved! I'm a stupid newbie!
An example
In this way queue and subqueue allow to select only 'TestService' e 'Servizio2'.
Bye Bye!
An example
Code: Select all
$Self->{TicketAcl}->{'ACL-CustomerQueue'} =
{
# match properties
Properties => {
Queue => { Name => ['CustomerQueue' , 'CustomerQueue::CustomerSubQueue'], },
},
Possible => {
Ticket => { Service => ['TestService', 'Servizio2'],
},
},
};
Bye Bye!