Assign the service automatically

Moderator: crythias

Post Reply
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Assign the service automatically

Post by gusmaer »

We need to assign to the tickets that arrive from the customers the service that they have assigned in the option of Customer User <-> Service.

How could this be done?
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Assign the service automatically

Post by root »

Hi,

This can be done manually from the ticket zoom, using free fields dialogue.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Assign the service automatically

Post by gusmaer »

This is how we are doing it, we manually place the service and the SLA.

We were seeing if with the generic agent we could assign the service automatically, but we found that it can only be done per customer id, so this would cause us to have to configure a generic agent rule for each client that we have created.

That is why the query is if there is any way that the service assignment can be automated.

Thank you.
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Assign the service automatically

Post by root »

gusmaer wrote: 17 Oct 2019, 22:27 That is why the query is if there is any way that the service assignment can be automated.
No, and the reason is quite simple: it is possible to assign multiple services to a customer user.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Assign the service automatically

Post by gusmaer »

We configure the system so that each client has only one service, we do not have the case that a client can have several services.
If we had it, we would manage it manually.
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Assign the service automatically

Post by root »

Hi,

Then it's a Generic Agent or if this is not convenient enough custom development.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Assign the service automatically

Post by gusmaer »

Hello,

Could you solve us using ACL?

In the manual there is an example that I do not understand what it does on time.

https://doc.otrs.com/doc/manual/admin/5 ... ement.html


TicketServiceSet

Assigns a service to a process ticket. The ticket requires to have a customer and the service must be assigned to that customer. Example:

$Self->{'Process::TransitionAction'} = {
'TA1' => {
Name => 'Set MyService service',
Module => 'Kernel::System::ProcessManagement::TransitionAction::TicketServiceSet',
Config => {
Service => 'MyService',
# or
ServiceID => 123,
},
},
};


'Name' specifies the name of the configured TransitionAction.

'Service' defines the new service of the process ticket. The full name is required (e.g. GramdFatherService::FatherService::SonService ).

'ServiceID' defines the internal ID of the new service.

Thank you.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Assign the service automatically

Post by crythias »

Postmaster filter or generic agent.
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
Post Reply