Configure the Generic Agent to send e-mails automatically

Moderator: crythias

Locked
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Configure the Generic Agent to send e-mails automatically

Post by sunny »

Hi,

As per you suggested
"The Generic agent can change the state/status, priority, or other field, and Notification (Event) can react/send email based upon that change."

My state gets changed so genric agent is working fime means but I have created Notification event also and No email is going

Please help..

What is the requirement to run notification event?
Last edited by crythias on 30 May 2014, 14:31, edited 1 time in total.
Reason: Topic split because not appropriate to hijack another thread for your topic.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

If triggered by a Generic Agent, the Generic Agent needs to have notifications enabled.
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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

how to enable that? and I ma using OTRS 3.0.6
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

sunny wrote:I ma using OTRS 3.0.6
oh. That is good to know. That's why my signature says what it does.
sunny wrote: I have created Notification event also and No email is going
What did you create? How can I make one that looks like yours?
Are you sure no email is going? or is it not being received? What do the system logs say?
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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

My Little Requirement as below
I need the multiple level esclation

MainQueue1 - Update Response time is 240 Minutes

If nobody work on this email in 240 min then the notification should go to supervisor1
and if still for 240 min no body works on that mail the notification should go to supervisor2
__________
What I have done to achieve this below
I created Generic agent
Ticket Filter on update response time before 1 minute and select queue and state open
Ticket Action: Set New state-> Level2(I defined)
THEN
Created Notification Event
Recpt email address: xyx@dom.com
Event: TicketStateUpdate
Subject: XYZ
Body: ABC
Notification Article Type: Email Notification external
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

Did you select State Level2 in your Notification Event? You didn't mention it...
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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

OH. No...I did not know to set this too..sry.Let me try thin and let you know
Suppose if it works then please suggest for 2 level escalation..

Thank you so much
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

sunny wrote:please suggest for 2 level escalation
for every escalation, check for last change and change something, then send a notification event on that change.
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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

crythias wrote:
sunny wrote:please suggest for 2 level escalation
for every escalation, check for last change and change something, then send a notification event on that change.
Can I change the state which is Level2 and then run the new notification event ??

One issue I am facing
Recipient email addresses is s***y@gmail.com is not getting an email on escalation . WHY?

and One question I have you said earlier
If triggered by a Generic Agent, the Generic Agent needs to have notifications enabled.

How we can set notifications enabled in generic agent..is there any way?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

sunny wrote:Can I change the state which is Level2 and then run the new notification event ??
Are you asking for permission, ability, or did you try it and it didn't work?
sunny wrote:is not getting an email on escalation . WHY?
Check system log in OTRS. Did the message send? You should see logs for the event. If it sent, it's a recipient issue. If it errors, it's a transport issue (not otrs), if it didn't send, it probably didn't trigger.
sunny wrote:How we can set notifications enabled in generic agent..is there any way?
Why are you using such an old version of OTRS?
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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

crythias wrote:
sunny wrote:Can I change the state which is Level2 and then run the new notification event ??
Are you asking for permission, ability, or did you try it and it didn't work?

trying for multi level escalation
sunny wrote:is not getting an email on escalation . WHY?
Check system log in OTRS. Did the message send? You should see logs for the event. If it sent, it's a recipient issue. If it errors, it's a transport issue (not otrs), if it didn't send, it probably didn't trigger.

System log is showing-> Run GenericAgent Job 'esc notification' from db.
sunny wrote:How we can set notifications enabled in generic agent..is there any way?
Why are you using such an old version of OTRS?
We are using from so long
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

Hi,

Thanks, Notification mail came but after 8 mins of escalation.why I do not know any idea..

My last query can we set multiple email address in Recipient email address in notification event? (as we have 2 supervisor at level 1 escalation)
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

sunny wrote:Notification mail came but after 8 mins of escalation.why I do not know any idea..
because GA runs at max every 10 minutes.
sunny wrote:My last query can we set multiple email address in Recipient email address in notification event? (as we have 2 supervisor at level 1 escalation)
If you tried it and did not accomplish your goal, you would be asking a different question. Assuming you tried it, then the answer is to use a group or distribution group.
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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

Ok..Thank u so much for your great help..
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

Hi Crythias,

As you suggested on multiple level escalation that we should check the last change time on every escalation and then change something, then send a notification event on that change ..did not find out the way..Can you provide me simple example? if possible.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

right. I keep missing that you're in 3.0 ... upgrade.
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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

Hi,

I have tried so many times but still unsuccessful for update response time..

I set update time response in Q1 is 40 Min.
And
Set GA in Ticket Filter Esc-update time reached last 1 minute

But mail sends before escalation happens..why please let me know..
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

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
sunny
Znuny newbie
Posts: 68
Joined: 30 Aug 2011, 13:14
Znuny Version: 5.0.22
Real Name: Sunny
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by sunny »

Thanks, but no help on update response time escalation on the above link
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

generic agents run at max every 10 minutes.
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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Configure the Generic Agent to send e-mails automaticall

Post by crythias »

sunny wrote:I have tried so many times but still unsuccessful for update response time..
I don't know how to translate this into something that can be addressed.
sunny wrote:I set update time response in Q1 is 40 Min.
And
Set GA in Ticket Filter Esc-update time reached last 1 minute

But mail sends before escalation happens..why please let me know..
Beats me. I can't translate your issue into something I can replicate.
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
Locked