set dynamic field with now() / current_timestamp on Generic Agent level?

Moderator: crythias

Locked
hkais
Znuny wizard
Posts: 365
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

set dynamic field with now() / current_timestamp on Generic Agent level?

Post by hkais »

is it possible to set the now() datetime into a dynamic field via the Generic Agent?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
root
Administrator
Posts: 4249
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: set dynamic field with now() / current_timestamp on Generic Agent level?

Post by root »

Hi,

Yes, with a customer GenericAgent. With just a couple lines of code.

- 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 ?
hkais
Znuny wizard
Posts: 365
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: set dynamic field with now() / current_timestamp on Generic Agent level?

Post by hkais »

root wrote: 18 Jul 2024, 06:33 Yes, with a customer GenericAgent. With just a couple lines of code.
Hi Roy,

are there plans to add this feature into the znuny 7.x stream?
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO power users and admins
Specialized for AI-based Solutions with Znuny

IT Governance Portal
root
Administrator
Posts: 4249
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: set dynamic field with now() / current_timestamp on Generic Agent level?

Post by root »

hkais wrote: 19 Jul 2024, 13:45
root wrote: 18 Jul 2024, 06:33 Yes, with a customer GenericAgent. With just a couple lines of code.
are there plans to add this feature into the znuny 7.x stream?
Hi,

Not that I aware of.

- 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 ?
Locked