Transition Action Issue

English! place to talk about development, programming and coding
Post Reply
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Transition Action Issue

Post by hkais »

Having implemented a transition action, but the population of the parameters of the transition action is not working on the UI

So I am not sure if we did a mistake or if we are on the right track?

Is there any code sample of a transition action to review, incl. how the population of the config parameters is working?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
Johannes
Moderator
Posts: 391
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: Transition Action Issue

Post by Johannes »

You can find 20 something here:
https://github.com/znuny/Znuny/tree/dev ... tionAction

otherwise you can simply add logging and easily see where the issue is.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Transition Action Issue

Post by root »

Hi,

You need your own ProcessManagement::TransitionAction::DefaultParameters setting. See an example at https://github.com/znuny/Znuny/blob/dev ... t.xml#L742

Do not forget to use instead of 001-Framework a custom number and identifier, e.g.ProcessManagement::TransitionAction::DefaultParameters###100-MyCustomization

- 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 ?
Post Reply