Calculated Dynamic field

Moderator: crythias

Locked
ftahoces
Znuny newbie
Posts: 22
Joined: 30 Mar 2016, 10:49
Znuny Version: 5.0.12

Calculated Dynamic field

Post by ftahoces »

Hi everyone

Does OTRS 5 support calculated fields?

I need to compute the difference between an Estimated Time (this is other dynamic field) and the accounted time.
Eg.: Dynamic_field2 = Dynamic_field1 - Accounted Time

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

Re: Calculated Dynamic field

Post by RStraub »

No.

But you could use a generic agent that triggers on Dynamic_Field1 updates and runs a custom module to calculate and set Dynamic_Field2.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Calculated Dynamic field

Post by jojo »

or use an outgoing webservice to calculate the data and update the 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
Locked