SetOwner to Dynamic Field
Moderator: crythias
SetOwner to Dynamic Field
How can I set owner to a dynamic field when doing a process?
I tried <OTRS_TICKET_DYNAMICFIELD_FIELD> but it fails to set the owner.
Any thoughts on this?
We have a list of owners in a drop down that I wish to set to on a ticket.
I tried <OTRS_TICKET_DYNAMICFIELD_FIELD> but it fails to set the owner.
Any thoughts on this?
We have a list of owners in a drop down that I wish to set to on a ticket.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: SetOwner to Dynamic Field
Hi Greg,
This depends on the Keys of your dynamic field. Use Owner as Parameter in the Transition Action if the keys are the agent's login names or OwnerID if the keys are the ID of the agent - and <OTRS_TICKET_DynamicField_Field> as value
- Roy
This depends on the Keys of your dynamic field. Use Owner as Parameter in the Transition Action if the keys are the agent's login names or OwnerID if the keys are the ID of the agent - and <OTRS_TICKET_DynamicField_Field> as value
- 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 ?
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 ?
Re: SetOwner to Dynamic Field
This is what I tried. I will try again and report back.
Re: SetOwner to Dynamic Field
The dynamic field doesn't appear to work.
Process: Process-606c21726d68bf8eeb09dcf49fc8c4fa Activity: Activity-ae44426b58481b1127b2b03f970beda4 SequenceFlow: SequenceFlow-85b0fbe87d5eb9980e01af7614cb4b21 SequenceFlowAction: SequenceFlowAction-78de37c9b67d86847eae6abdfe75e968No Owner or OwnerID configured!
Comes back with no owner configured. Any other thoughts on how to do this?
Process: Process-606c21726d68bf8eeb09dcf49fc8c4fa Activity: Activity-ae44426b58481b1127b2b03f970beda4 SequenceFlow: SequenceFlow-85b0fbe87d5eb9980e01af7614cb4b21 SequenceFlowAction: SequenceFlowAction-78de37c9b67d86847eae6abdfe75e968No Owner or OwnerID configured!
Comes back with no owner configured. Any other thoughts on how to do this?
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: SetOwner to Dynamic Field
Hi,oryfoxer wrote: ↑31 Mar 2020, 23:24 The dynamic field doesn't appear to work.
Process: Process-606c21726d68bf8eeb09dcf49fc8c4fa Activity: Activity-ae44426b58481b1127b2b03f970beda4 SequenceFlow: SequenceFlow-85b0fbe87d5eb9980e01af7614cb4b21 SequenceFlowAction: SequenceFlowAction-78de37c9b67d86847eae6abdfe75e968No Owner or OwnerID configured!
Comes back with no owner configured. Any other thoughts on how to do this?
What is your OTRS version?
- 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 ?
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 ?
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: SetOwner to Dynamic Field
Hi,
And please provide a screenshot of your TransitionAction.
- Roy
And please provide a screenshot of your TransitionAction.
- 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 ?
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 ?
Re: SetOwner to Dynamic Field
OTRS 7.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: SetOwner to Dynamic Field
Hi,
Please ask the OTRS support, this is not a community edition and probably nobody here is able to help.
- 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 ?
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 ?
-
- Znuny superhero
- Posts: 624
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: SetOwner to Dynamic Field
Transition Action
1. Owner to DynamicField
2. DynamicField To Owner
Good luck
1. Owner to DynamicField
Code: Select all
Transition Action = DynamicFieldSet
Key = InitialOwner Value = <OTRS_TICKET_OwnerID>
Key = UserID Value = 1
2. DynamicField To Owner
Code: Select all
Transition Action = TicketOwnerSet
Key = OwnerID Value = <OTRS_TICKET_DynamicField_InitialOwner>
Key = UserID Value = 1
Re: SetOwner to Dynamic Field
Thanks for all the suggestions. I couldn't get it to work with a dynamic field.
For anyone else who finds this, what I ended up having to do was individual sequence flows for each user in the selection. Each selection had its own sequence and from there, I was able to setOwner as a sequence flow action.
This produces a cleaner result in the long run as you are able to do strings that match the name on the display as opposed to the username.
For anyone else who finds this, what I ended up having to do was individual sequence flows for each user in the selection. Each selection had its own sequence and from there, I was able to setOwner as a sequence flow action.
This produces a cleaner result in the long run as you are able to do strings that match the name on the display as opposed to the username.
Re: SetOwner to Dynamic Field
Hi,
it is not DYNAMICFIELD but DynamicField
and you should ask professional support, as you are on version7
Flo
it is not DYNAMICFIELD but DynamicField
and you should ask professional support, as you are on version7
Flo
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.