Timed Notification Question/Problem

General question about the package, problems, solutions
skigeek
Posts: 4
Joined: Wed Nov 30, 2011 12:13 pm

Timed Notification Question/Problem

Postby skigeek » Fri Dec 19, 2014 12:26 pm

1. I have created a new table called Email_TimeNotifications. It has the Frequency, Name, Active and Path. I have added a record to it.
2. I added a udb_property of TN_RecordTypes = "Email_TimedNotifications".
3. I created a Email_Notification_Rule - on RecordType = "Email_TimedNotifications"
Action=DailyNotifications,
Condition = "$Frequency eq "Daily"
Subject = "ClearQuest - $name"
Body = "<HTML><BODY>
<H2 ALIGN="Center">$name</H2>
RETURN_QUERY_RESULTS_AS_HTML_TABLE($Path)
</BODY></HTML>
***** To = When I put ES_GetSubscribersEmails() I get an error that this cannot be found. If I put a email address it works.

To execute it I use: cqperl timedNotification.pl foo "" BETSX XX DailyNotification

Pavel
Posts: 281
Joined: Fri Dec 12, 2008 12:19 am

Re: Timed Notification Question/Problem

Postby Pavel » Fri Dec 19, 2014 3:01 pm

Hi,

ES_GetSubscribersEmails() is a part of the EmailSubscription package.
Did you apply it to the schema?

Thank you,
Pavel

skigeek
Posts: 4
Joined: Wed Nov 30, 2011 12:13 pm

Re: Timed Notification Question/Problem

Postby skigeek » Fri Dec 19, 2014 3:58 pm

Yes... It is.. Email notifications are working well. And ES_GetSubscribersEmails() is used for all other record types, just not for timed notifications.

Pavel
Posts: 281
Joined: Fri Dec 12, 2008 12:19 am

Re: Timed Notification Question/Problem

Postby Pavel » Fri Dec 19, 2014 4:15 pm

Hi,

Could you copy the error message, please?

Thank you,
Pavel

Pavel
Posts: 281
Joined: Fri Dec 12, 2008 12:19 am

Re: Timed Notification Question/Problem

Postby Pavel » Fri Dec 19, 2014 4:26 pm

Hi,

In the TimedNotification.pl, find the following line (line 25?):

Code: Select all

my @scripts = qw( UDB_Properties EN_Notification EN_Parser );


Change it to (add ES_Scripts section):

Code: Select all

my @scripts = qw( UDB_Properties EN_Notification EN_Parser ES_Scripts);


It should fix the issue.

Thank you,
Pavel

skigeek
Posts: 4
Joined: Wed Nov 30, 2011 12:13 pm

Re: Timed Notification Question/Problem

Postby skigeek » Fri Dec 19, 2014 6:15 pm

Yep... Fixed the issue.. Thanks.. You rock.


Return to “Email Notification Package Q&A”

Who is online

Users browsing this forum: No registered users and 2 guests

cron