<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Content rule conditions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229559#M182689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're in the process of testing Alfresco and we'd like to use the Share to communicate with our customers. Nothing special here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What we'd like now is to get mailed if one of the customer users puts something in his site, and mail the customer if one of us puts something in his site.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We tried to set a rule "with specific text value in property" and check "cm:modifier" for the username of our customer, but it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover, as we'll have many users for one customer, we'll put them into a group to simplify permissions settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;So my question is:&lt;/EM&gt;&lt;SPAN&gt; is there a way to mail specific email addresses when a site is modified (content added, modified, removed) based on the modifier's group ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Sep 2009 08:47:21 GMT</pubDate>
    <dc:creator>djau</dc:creator>
    <dc:date>2009-09-21T08:47:21Z</dc:date>
    <item>
      <title>Content rule conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229559#M182689</link>
      <description>Hi,We're in the process of testing Alfresco and we'd like to use the Share to communicate with our customers. Nothing special here.What we'd like now is to get mailed if one of the customer users puts something in his site, and mail the customer if one of us puts something in his site.We tried to se</description>
      <pubDate>Mon, 21 Sep 2009 08:47:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229559#M182689</guid>
      <dc:creator>djau</dc:creator>
      <dc:date>2009-09-21T08:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Content rule conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229560#M182690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd like to know this also. I suspect you have to create specific rules for each email address. You can check the site though in a new webscript (or maybe by copying the email webscript):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var site;&lt;BR /&gt;var dPath = document.displayPath;&lt;BR /&gt;var dPathA = dPath.split("/");&lt;BR /&gt;if (len(dPathA) &amp;gt; 2) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; var s = dPathA[3]; // ie company home / sites / sitename&lt;BR /&gt;&amp;nbsp;&amp;nbsp; site = siteService.getSite(s);&lt;BR /&gt;&amp;nbsp; // now run the email…maybe get the site administrators and then run an email command?&lt;BR /&gt;}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2009 15:31:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229560#M182690</guid>
      <dc:creator>tgmweb</dc:creator>
      <dc:date>2009-09-21T15:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Content rule conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229561#M182691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your answer, but unfortunately, it doesn't solve my problem. I wasn't clear enough, sorry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my problem is that I want to send a notification based on the modifier's group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each of my customer has a group and multiple users in this group. When one of those users adds something into the customer site, I need to receive a notification. When I (or another administrator) adds something to the customer site, I need to send a notification to that customer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not a problem to add one rule for the customer email and one rule for my email.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to use the condition "text value of an aspect" and use "cm:modifier" as aspect, but it didn't work. I can't find a place to look for this kind of doc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is welcome &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 16:29:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229561#M182691</guid>
      <dc:creator>djau</dc:creator>
      <dc:date>2009-09-23T16:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Content rule conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229562#M182692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm … I would suggest setting up one site for each customer and a central "syndication" site, which can distribute content per rule, workflow or other. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Each customer has access to "his" site. Then you have one email per customer. That can then fire the "Send mail to recipient" Content rule. Does that help already ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can even define one rule per emailaddresss or extend the system with a java/javascript class, delivering the emal address based on certain runtime parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Norgan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 17:15:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-rule-conditions/m-p/229562#M182692</guid>
      <dc:creator>norgan</dc:creator>
      <dc:date>2009-09-23T17:15:44Z</dc:date>
    </item>
  </channel>
</rss>

