<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged notifications</title>
<link>https://overflow.efficy.io/?qa=tag/notifications</link>
<description>Powered by Question2Answer</description>
<item>
<title>Send notification by email -&gt; auto reply email is send back to users email box. Why ?</title>
<link>https://overflow.efficy.io/?qa=7077/send-notification-email-auto-reply-email-send-back-users-email</link>
<description>&lt;p&gt;One of the client's user has set a auto reply email (outlook). &lt;/p&gt;

&lt;p&gt;Now when a notification is send by email (cause the option send notification by email has been checked) the user's auto reply email will be triggered and send back.  But for some reasons this email reaches apparently all the users that might be linked to the modified record.&lt;/p&gt;

&lt;p&gt;Any idea why this would happen ? Why do all of the linked users (not sure if it's only linked or maybe some others) get the auto reply email on their email box ?  &lt;/p&gt;

&lt;p&gt;I would imagine that the email used for sending notification might be a an alias (group) email that includes a number of people . But I don't see where the configuration of this part is located.&lt;/p&gt;

&lt;p&gt;How are the emails notification send ? Is it a scheduled script or a service ? &lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7077/send-notification-email-auto-reply-email-send-back-users-email</guid>
<pubDate>Tue, 23 Jul 2024 07:40:45 +0000</pubDate>
</item>
<item>
<title>Where are the &quot;Follow&quot; notification details stored?</title>
<link>https://overflow.efficy.io/?qa=7075/where-are-the-follow-notification-details-stored</link>
<description>&lt;p&gt;We have two ways to configure notifications. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Default notifications:&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=8225178292203744388&quot; alt=&quot;enter image description here&quot;&gt;&lt;/li&gt;
&lt;li&gt;Follow (follow a specific record): &lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.io/?qa=blob&amp;amp;qa_blobid=17621620532942460118&quot; alt=&quot;enter image description here&quot;&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The default notification details are saved in ACC_RIGHTS table.  &lt;a rel=&quot;nofollow&quot; href=&quot;https://overflow.efficy.io/?qa=2069/default-notification-settings-where-are-they-stored&amp;amp;show=2070#a2070&quot;&gt;Explained in this thread&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Where are saved the &quot;Follow&quot; configuration details? &lt;/p&gt;
</description>
<category>Database</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=7075/where-are-the-follow-notification-details-stored</guid>
<pubDate>Mon, 22 Jul 2024 14:48:55 +0000</pubDate>
</item>
<item>
<title>Efficy 11: customising notifications</title>
<link>https://overflow.efficy.io/?qa=3172/efficy-11-customising-notifications</link>
<description>&lt;p&gt;Hi team,&lt;/p&gt;

&lt;p&gt;Since Efficy 11 we have a new feature called &quot;notifications&quot;. You probably discovered this feature in our Efficy.&lt;/p&gt;

&lt;p&gt;The new build of Efficy 11 (&lt;strong&gt;r12835&lt;/strong&gt;) added the possibility to customise those notifications by adding a parameter &quot;customparams&quot;. You are able to retrieve information passed to this parameter inside the MacroNotifications.txt.&lt;/p&gt;

&lt;p&gt;An example:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Serverscripts/customNotifications.js&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var customParams = {
    &quot;special&quot;: &quot;Just some extra information I need in the macro...&quot;,
    &quot;employee&quot;: &quot;Jean Dupont&quot;,
    &quot;ntEntity&quot;: ntRepo,
    &quot;entityKey&quot;: 45
}

Efficy.sendNotification(
    'Your sales turnover has almost reached it's target!', //title
    'Well done $SALES_NAME$! Click on the notifications to have a full overview', //description
    VarArrayOf([2,88]), //users
    JSON.stringify(customParams, null, '  ') //customparams
);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The code above show you how to use server script / workflow code to generate a custom notification and add custom parameters to it.&lt;br&gt;
After you created a notification this one will be loaded for the specific user(s) you chose.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Macros/MacroNotificationsCustom.txt&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;NotiItemVars {[
&amp;lt;# var notiItem = notifications[i],
    authors = notiItem.authors,
    entity = notiItem.entity,
    identifiers = notiItem.identifiers,
    fields = notiItem.fields,
    categories = notiItem.categories,
    relations = notiItem.relations,
    securities = notiItem.securities,
    owner = notiItem.owner,
    massupdate = notiItem.massUpdate,
    recurrence = notiItem.recurrence;

/* All the data you passed to the customParams will be available here */
var notiCustom = notiItem.customparams || null;

/* Simulate entities */
if (notiItem.kind === 'information') {
    entity = {&quot;name&quot;:&quot;info&quot;, &quot;label&quot;:&quot;&amp;lt;%GetLabel('Information', context=JS)%&amp;gt;&quot;};
} else if (notiItem.kind === 'password') {
    entity = {&quot;name&quot;:&quot;key&quot;, &quot;label&quot;:&quot;&amp;lt;%GetLabel('Password', context=JS)%&amp;gt;&quot;};
} #&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Having this in your macro gives you all the imaginable possibilities. You could work with a custom type of notifications which calls a different macro template for example. You could create custom actions (like the 'Accept' / 'Decline' for an action).&lt;/p&gt;

&lt;p&gt;If I forgot something or made an error somewhere in my explanation, please let me know.&lt;/p&gt;

&lt;p&gt;Enjoy!&lt;/p&gt;

&lt;p&gt;Maxime&lt;/p&gt;

&lt;p&gt;Ps.: thanks to the R&amp;amp;D for this feature&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3172/efficy-11-customising-notifications</guid>
<pubDate>Wed, 23 May 2018 11:41:30 +0000</pubDate>
</item>
<item>
<title>Default notification settings, where are they stored?</title>
<link>https://overflow.efficy.io/?qa=2069/default-notification-settings-where-are-they-stored</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I would like to know where does default notification settings are stored and if they can be changed in script?&lt;/p&gt;

&lt;p&gt;Thank you.&lt;/p&gt;

&lt;p&gt;Best Regards.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2069/default-notification-settings-where-are-they-stored</guid>
<pubDate>Mon, 05 Dec 2016 13:56:00 +0000</pubDate>
</item>
</channel>
</rss>