<?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: Creating Execute Script Action for Rule Service in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140087#M37438</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/4825"&gt;@cristinamr&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks, that was really helpful . Am looking into it to develop for Execute script options. If you could help anyway will be great.&lt;/P&gt;&lt;P&gt;Thanks for the help again.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
    <pubDate>Mon, 28 Jun 2021 08:09:05 GMT</pubDate>
    <dc:creator>piyush48</dc:creator>
    <dc:date>2021-06-28T08:09:05Z</dc:date>
    <item>
      <title>Creating Execute Script Action for Rule Service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140085#M37436</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to create rule through Alfresco RuleService API and has created basic of rule but want to create action which execute javascript present in Datadictionary/Scripts.&lt;/P&gt;&lt;P&gt;Below is my rule method:-&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;private void createRule(NodeRef ruleFolder) {
  	  Rule rule = new Rule();
  	  rule.setRuleType(RuleType.INBOUND);
  	  rule.applyToChildren(false);
  	  String title = "Rule for Creation";
  	  rule.setTitle(title);
          rule.setAction(getCompositeAction());
  	  this.serviceRegistry.getRuleService().saveRule(ruleFolder, rule);	&lt;/PRE&gt;&lt;P&gt;Can someone help me with creating compositeAction which execute script when condition "document is created or enter this folder" which is&amp;nbsp; present in Rule template when we create manually. Also how to execute error.js to it when error occures similar like when we use Rule template.&lt;/P&gt;&lt;P&gt;Please do help me out.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 10:21:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140085#M37436</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2021-06-23T10:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Execute Script Action for Rule Service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140086#M37437</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Maybe &lt;A href="https://soft29.ru/blog/entry/alfresco-custom-rules-and-actions" target="_self" rel="nofollow noopener noreferrer"&gt;this tutorial&lt;/A&gt; can help you.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 08:39:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140086#M37437</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-06-24T08:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Execute Script Action for Rule Service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140087#M37438</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/4825"&gt;@cristinamr&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks, that was really helpful . Am looking into it to develop for Execute script options. If you could help anyway will be great.&lt;/P&gt;&lt;P&gt;Thanks for the help again.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Piyush&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 08:09:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140087#M37438</guid>
      <dc:creator>piyush48</dc:creator>
      <dc:date>2021-06-28T08:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Execute Script Action for Rule Service</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140088#M37439</link>
      <description>&lt;P&gt;I'm glad that tutorial help you.&lt;/P&gt;&lt;P&gt;Concerning last question: what are you looking for exactly? What is your expectation?&lt;/P&gt;&lt;P&gt;I'll give you some tutorials where explains the different options you have available:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref/#understanding-web-scripts" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/6.2/develop/reference/web-scripts-ref/#understanding-web-scripts&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/webscripts/tutorial/tutorial.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.alfresco.com/content-services/6.2/develop/repo-ext-points/web-scripts/" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/6.2/develop/repo-ext-points/web-scripts/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Give me more details about what is your expectation and I'll try to help you &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 09:02:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-execute-script-action-for-rule-service/m-p/140088#M37439</guid>
      <dc:creator>cristinamr</dc:creator>
      <dc:date>2021-06-28T09:02:59Z</dc:date>
    </item>
  </channel>
</rss>

