Make "Time Units" a field in an ActivityDialog

Moderator: crythias

Locked
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Make "Time Units" a field in an ActivityDialog

Post by RStraub »

Hello again!

I'm trying to add the "Time Units" field to an ActivityDialog (Process Management). When I edit the AD, there is no field like "Time Units".
As I've read about the issue that internal fields are not shown in the Process Management, I check the dynamic_field table, but apparently Time Units is not an dynamic field.

Is there a way to add this field to an AD in a process flow? If not - is this a bug or a wanted feature?

Best regards and many thanks,
Rolf
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Make "Time Units" a field in an ActivityDialog

Post by reneeb »

Currently this would need development. I think it's neither a bug (as it's nowhere mentioned that all fields are supported) nor a feature, but a missing feature ;-)
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Make "Time Units" a field in an ActivityDialog

Post by RStraub »

Thank you :)
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
esaunders
Znuny newbie
Posts: 26
Joined: 29 Jan 2015, 01:28
Znuny Version: 6.0.x
Real Name: Eric Saunders

Re: Make "Time Units" a field in an ActivityDialog

Post by esaunders »

Sorry to revive an old thread, but it's been over a year and I have the same need, so I just wanted to confirm that this feature is still "missing". Thanks.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Make "Time Units" a field in an ActivityDialog

Post by RStraub »

Yes, but we found a "workaround":

1) Created a dynamic field named "TimeUnitsInternal"
2) Wrote a custom module which takes the value of the dynamic field and writes it to the time units field and creates a note (this is a side effect, but you cannot have time units without a note).
3) Made the dynamic field mandatory in activity dialogs to ensure there is a value set.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked