<?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: Customizing the rule in alfresco thru script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261984#M215114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No I understand your requirements now &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;BR /&gt;&lt;BR /&gt;However I think you have to do this the other way around. That is, you need to design and deploy a slightly modified version of the workflow you are using. This is because the bpm:status property is set on the workflow itself and not on your document. You will need to have the workflow tag your document.&lt;BR /&gt;&lt;BR /&gt;Here is a great tutorial by Jeff Potts: &lt;A href="http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;/Erik&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean that I should create new file/javascript for this scenario? Is there a way that I can just add an if statement in an existing java file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already read that link. What page are you referring at?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Irene&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2012 10:13:59 GMT</pubDate>
    <dc:creator>irene08</dc:creator>
    <dc:date>2012-09-19T10:13:59Z</dc:date>
    <item>
      <title>Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261978#M215108</link>
      <description>Good Day!Is there any way that you could help me in customizing the rule in alfresco thru script? The scenario is this.. 'If the author change the status to completed, tagged file as approval'.In Manage Rule, I created new rule and Define Rule…. WHEN— Items are updated &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Wed, 19 Sep 2012 07:59:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261978#M215108</guid>
      <dc:creator>irene08</dc:creator>
      <dc:date>2012-09-19T07:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261979#M215109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you please clarify which status property the rule should fire on. bpm:status? pub&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublishingEventStatus?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a few.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 09:04:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261979#M215109</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-19T09:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261980#M215110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Could you please clarify which status property the rule should fire on. bpm:status? pub&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublishingEventStatus?&lt;BR /&gt;&lt;BR /&gt;There are a few.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;/Erik&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm not mistaken, the dl:taskStatus or the bpm:status. I really don't know the exact/right status property but the two properties that I mentioned is for workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Irene&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 09:16:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261980#M215110</guid>
      <dc:creator>irene08</dc:creator>
      <dc:date>2012-09-19T09:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261981#M215111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a workflow is marked complete you want the file associated with the workflow to be linked to the category (tag) approved?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 09:23:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261981#M215111</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-19T09:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261982#M215112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is this correct?&lt;BR /&gt;&lt;BR /&gt;When a workflow is marked complete you want the file associated with the workflow to be linked to the category (tag) approved?&lt;BR /&gt;&lt;BR /&gt;/Erik&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes. Yes. You're right. Is there anything else that you want/need to ask?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Irene&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 09:31:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261982#M215112</guid>
      <dc:creator>irene08</dc:creator>
      <dc:date>2012-09-19T09:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261983#M215113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No I understand your requirements now &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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I think you have to do this the other way around. That is, you need to design and deploy a slightly modified version of the workflow you are using. This is because the bpm:status property is set on the workflow itself and not on your document. You will need to have the workflow tag your document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a great tutorial by Jeff Potts: &lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 09:46:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261983#M215113</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-19T09:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261984#M215114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No I understand your requirements now &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;BR /&gt;&lt;BR /&gt;However I think you have to do this the other way around. That is, you need to design and deploy a slightly modified version of the workflow you are using. This is because the bpm:status property is set on the workflow itself and not on your document. You will need to have the workflow tag your document.&lt;BR /&gt;&lt;BR /&gt;Here is a great tutorial by Jeff Potts: &lt;A href="http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;/Erik&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you mean that I should create new file/javascript for this scenario? Is there a way that I can just add an if statement in an existing java file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already read that link. What page are you referring at?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Irene&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 10:13:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261984#M215114</guid>
      <dc:creator>irene08</dc:creator>
      <dc:date>2012-09-19T10:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261985#M215115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, I'm not referring to one page in the tutorial, but the whole concept of creating workflows. I have not been creating workflows myself so I'm afraid I cant be more specific.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 11:09:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261985#M215115</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-19T11:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing the rule in alfresco thru script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261986#M215116</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;Alright. Thank you then. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Irene&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 04:50:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-the-rule-in-alfresco-thru-script/m-p/261986#M215116</guid>
      <dc:creator>irene08</dc:creator>
      <dc:date>2012-09-20T04:50:27Z</dc:date>
    </item>
  </channel>
</rss>

