<?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 Re: Rule not triggered after specializing type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272180#M225310</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi douglas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if I did something wrong however what I already wrote, and perhaps I did not make it very clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like if Alfresco did not receive the update trigger after the type is specialized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea what the problem could be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2012 06:56:18 GMT</pubDate>
    <dc:creator>mkieboom</dc:creator>
    <dc:date>2012-08-10T06:56:18Z</dc:date>
    <item>
      <title>Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272178#M225308</link>
      <description>Hi there,At the moment I want to configure a rule which send out a notification to a person when content gets a a custom content type assigned.For example a user upload one particular document A.pdf. At this moment the content type is still cm:content.However after the content type is specialized to</description>
      <pubDate>Wed, 01 Aug 2012 13:09:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272178#M225308</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-08-01T13:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272179#M225309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;At the moment I want to configure a rule which send out a notification to a person when content gets a a custom content type assigned.&lt;BR /&gt;For example a user upload one particular document A.pdf. At this moment the content type is still cm:content.&lt;BR /&gt;However after the content type is specialized to: my:customcontent it looks lik Alfresco does receive this trigger.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how this can be solved?&lt;BR /&gt;&lt;BR /&gt;The notifications itself work so that is not the issue.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Marcel&lt;BR /&gt;&lt;BR /&gt;Alfresco Community v4.0.0&lt;BR /&gt;(3979) schema 5025&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can have more than one folder rule configured to the same folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first one is that you described. When a new document is created, its type is configured.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just create a second rule, registered to run at "items are updated", and the criteria as "content of type or sub-types" type my:customcontent".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 19:04:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272179#M225309</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2012-08-09T19:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272180#M225310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi douglas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure if I did something wrong however what I already wrote, and perhaps I did not make it very clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like if Alfresco did not receive the update trigger after the type is specialized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea what the problem could be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 06:56:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272180#M225310</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-08-10T06:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272181#M225311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi douglas,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;I'm not sure if I did something wrong however what I already wrote, and perhaps I did not make it very clear.&lt;BR /&gt;It looks like if Alfresco did not receive the update trigger after the type is specialized.&lt;BR /&gt;&lt;BR /&gt;Any idea what the problem could be?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Marcel&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right… I just made a test, and the rules engine seems to ignore the update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What about creating an second action inside the same rule, executed just after the first one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try to select a javascript to run.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 15:21:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272181#M225311</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2012-08-10T15:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272182#M225312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Douglas&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for my delayed response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wasn't be able to respond earlier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Within the rule which checks if a content type is added or updated with content type "type1" I added another rule which executes the following action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is the same as mentioned earlier. Alfresco does not see the change of content type as an update trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;if(document.typeShort == "type1" || document.typeShort == "type2" || document.typeShort == "type3")&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// create mail action&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var mail = actions.create("mail");&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// set the required parameters&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail.parameters.to = "mail@mail.com";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail.parameters.subject = "subject";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail.parameters.from = "alfresco@alfresco.com";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail.parameters.text = "Text Message";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// execute action against a document&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;mail.execute(document);&lt;BR /&gt;}&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;/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>Tue, 25 Sep 2012 07:19:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272182#M225312</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-09-25T07:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272183#M225313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I told you before, you can configure 2 actions inside on rule.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have one case where I have something just like what you want to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://i49.tinypic.com/117a6af.jpg" rel="nofollow noopener noreferrer"&gt;http://i49.tinypic.com/117a6af.jpg&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this rule, I've specialized the type, and then, I executed a script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:42:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272183#M225313</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2012-09-25T11:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272184#M225314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Douglas,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe that your example will work however you define in your rule which content type it will be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is, in our situation, the content types can be different and will not be set by a rule, just by hand changing the content type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that is not what you displayed in your screenshot is it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:57:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272184#M225314</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-09-25T11:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272185#M225315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok. I got it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't know that the type would be set manually…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All the tests I did were made with automatic actions driven by rules.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 12:33:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272185#M225315</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2012-09-25T12:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272186#M225316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok thanks anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps I need to find it elsewhere in Alfresco's functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With policies, or scheduled actions…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 13:17:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272186#M225316</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-09-25T13:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272187#M225317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From my point of view, this looks like a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;An update event should be fired whenever the content is modified either by end user or a rule action.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 02:23:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272187#M225317</guid>
      <dc:creator>silverhoof</dc:creator>
      <dc:date>2012-09-26T02:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rule not triggered after specializing type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272188#M225318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think so to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I looked at the scheduled jobs of Alfresco and use that as a (temporary) solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 14:59:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rule-not-triggered-after-specializing-type/m-p/272188#M225318</guid>
      <dc:creator>mkieboom</dc:creator>
      <dc:date>2012-09-26T14:59:58Z</dc:date>
    </item>
  </channel>
</rss>

