Trigger event Dynamic field
Moderator: crythias
Trigger event Dynamic field
Hi,
I wanted to know if it's possible to have an event named "TicketDynamicFieldUpdate" ?
If yes, how can I configure it ?
Thanks in advance for your help,
Regards,
I wanted to know if it's possible to have an event named "TicketDynamicFieldUpdate" ?
If yes, how can I configure it ?
Thanks in advance for your help,
Regards,
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Trigger event Dynamic field
Yes, it's an event.
There's some older information here: viewtopic.php?f=60&t=10090
You'll want to react to TicketDynamicFieldUpdate_MyField (Browse Kernel/System/Event.pm)
There's some older information here: viewtopic.php?f=60&t=10090
You'll want to react to TicketDynamicFieldUpdate_MyField (Browse Kernel/System/Event.pm)
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Trigger event Dynamic field
It works perfectly thanks
But
Now I wanted to keep the value of my dynamic field BEFORE the update. Is it possible ?
Regards,
But
Now I wanted to keep the value of my dynamic field BEFORE the update. Is it possible ?
Regards,
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Trigger event Dynamic field
It's possible that the old value might be in the ticket's history. Since we've already discussed two variables/DynamicFields, you can certainly reference the original when the second gets updated.
There is DynamicFieldValueObject->HistoricalValueGet
But I can't vouch for its validity for your purpose. There isn't any filter for the values you'll get.
There is DynamicFieldValueObject->HistoricalValueGet
But I can't vouch for its validity for your purpose. There isn't any filter for the values you'll get.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Trigger event Dynamic field
Now my problem is when I have multiple follow ups that arrived in the same ticket...
it is not possible using a postmaster filter to now the first follow up, second follow up value, etc.
it is not possible using a postmaster filter to now the first follow up, second follow up value, etc.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Trigger event Dynamic field
What are you trying to do?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Trigger event Dynamic field
And .. you want an article dynamic field, not a ticket dynamic field.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Trigger event Dynamic field
Yes, you're right, article dynamic field seems to be the appropriate response.
But I didn't succeed to get the article dynamic values in the search CSV. I have the column that appears in the CSV but it's blank.
And I configured the right thinks in Ticket::Frontend::AgentTicketSearch###SearchCSVDynamicField
So that's why I tried another way of having the values...
Regards,
But I didn't succeed to get the article dynamic values in the search CSV. I have the column that appears in the CSV but it's blank.
And I configured the right thinks in Ticket::Frontend::AgentTicketSearch###SearchCSVDynamicField
So that's why I tried another way of having the values...
Regards,
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Trigger event Dynamic field
You might need to enable Article Search.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask