Register Modules

Moderator: crythias

Locked
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

Register Modules

Post by chrish »

Hello,

I'm trying to implent a process where i need to split a the process and link it to each other.

I found an external transition-action, whose implens the needed capability.

https://github.com/acorderor/otrs.Proce ... icketSplit

I copied the files into Kernel/System/ProcessManagement/TransitionAction/ and got these modules in fine in TransitionAction Dialog for choosing.

But if i trigger those action on transition, nothing happens, neither an error/info in systemlog. Other actions are working fine.
Do i have to register these modules in system anywhere else?

Hope for help.

PS: Implementation on OTRS 4.0.5
Last edited by chrish on 02 Feb 2015, 15:50, edited 1 time in total.
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Register Modules

Post by jojo »

OTRS does allow a TicketCreate TransitionAction in OTRS4
"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
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

Re: Register Modules

Post by chrish »

i tried those TicketCreate, but does i have the capability to fill those ticket with content from existing processticket, such as customer and link these tickets to each other?

In API-Docs ( http://otrs.github.io/doc/api/otrs/stab ... te.pm.html ) there are "LinkAs => $LinkType" not really decribed.
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Register Modules

Post by jojo »

yes it does.

You can use OTRS NotificationTags for setting values- Some more docu on the Module itselft you'll get via Perldoc: perldoc Kernel/System/ProcessManagement/TransitionAction/TicketCreate.pm
"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
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

Re: Register Modules

Post by chrish »

nice, i'll give the notification Tags a shot.
but sorry for my inexperience, i don't get information about those $LinkType.

the perldoc just displays the same info wich is also given in the api-documentation
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Register Modules

Post by jojo »

Code: Select all

LinkAs => $LinkType,                                        # Normal, Parent, Child, etc. (respective original ticket)
"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
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

Re: Register Modules

Post by chrish »

Does the NotifiactionTags need some specialformat?
You do not have the required permissions to view the files attached to this post.
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

Re: Register Modules

Post by chrish »

LinkAs => 'Child'|'Parent'|'Normal'
working :)

But i the notificationsTags just don't :(
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Register Modules

Post by jojo »

actually it is not possible to mix static text with the tags in here. Also there is a bug so you have to write <OTRS_Ticket_... instead of <OTRS_TICKET...
"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
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

Re: Register Modules

Post by chrish »

is this Bug related to all NotificationTags (OTRS_CUSTOMER_DATA_ -> OTRS_Customer_Data_)?
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Register Modules

Post by jojo »

The Process Module only support <OTRS_TICKET... Tags
"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
chrish
Znuny newbie
Posts: 97
Joined: 24 Feb 2011, 14:51
Znuny Version: 4.0.5

Re: Register Modules

Post by chrish »

Okay, did it with this details.

thank you very much, also for ur patience ;)
SuSE Linux Enterprise Server 11.3

OTRS 4.0.5
Locked