I would like to assign the value of a Dynamic Field inside the value area of a Transition Action. I tried using the DynamicField form of the variable name and was not successful.
Any help would be appreciated. Thanks...Dan.
Assign Dynamic Field to value in Transition Action
Moderator: crythias
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Assign Dynamic Field to value in Transition Action
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
Re: Assign Dynamic Field to value in Transition Action
just to be sure: you want to use the value of a dynamic field and write it to another field?
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: Assign Dynamic Field to value in Transition Action
For example, I want to assign a queue name that was assigned to a dynamic field to the value passed to Kernel::System::ProcessManagement::TransitionAction::TicketQueueSet inside of a transition action within Process Management. Normally for this to work, you have to hard-code the queue name (inside of a Transition Action, to set the queue you use Key=Queue and Value=queuename). I would like to be able to use a dynamic field set by the user to assign the queue name value.
Thanks in advance for any information...Dan.
Thanks in advance for any information...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
Re: Assign Dynamic Field to value in Transition Action
Looks like you still got no answer. I have just the same problem. As ACL for restricting queues in ticket creation dialog does not work (for me, with 3.3.6), I decided to mirror the valid queues into a dynamic field. Too bad I'm not able to set the queue dynamically based on the value of this field. OK, would be even better to just be able to use ACL in CustomerTicketProcess and AgentTicketProcess ...
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Assign Dynamic Field to value in Transition Action
I think from OTRS 4.0 + you can read and set dynamic field values. If you can't upgrade yet (or don't want to), take a look at this thread:
viewtopic.php?f=53&t=27720
There I posted an example of how to get exactly that functionality.
viewtopic.php?f=53&t=27720
There I posted an example of how to get exactly that functionality.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS