<?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: Process scripts in adf in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40216#M16863</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80545"&gt;@Juancarlos_gp&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Can you provide more detail please? Are there log files, error messages, etc? Without such information it's hard to know how to assist you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2020 16:38:47 GMT</pubDate>
    <dc:creator>EddieMay</dc:creator>
    <dc:date>2020-06-04T16:38:47Z</dc:date>
    <item>
      <title>Process scripts in adf</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40215#M16862</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have some forms wiht scripts working well in the process, but this scripts don´t work in ADF, I don´t know the resasson.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;J.Carlos&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 10:54:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40215#M16862</guid>
      <dc:creator>Juancarlos_gp</dc:creator>
      <dc:date>2020-06-04T10:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Process scripts in adf</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40216#M16863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80545"&gt;@Juancarlos_gp&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Can you provide more detail please? Are there log files, error messages, etc? Without such information it's hard to know how to assist you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 16:38:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40216#M16863</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-06-04T16:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process scripts in adf</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40217#M16864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quit answer,&lt;/P&gt;&lt;P&gt;I using the following script in the process:&lt;/P&gt;&lt;P&gt;formFieldValueChanged:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class="ii gt"&gt;&lt;DIV class="a3s aXjCH "&gt;if(&lt;A href="http://field.id/" target="_blank" rel="noopener noreferrer nofollow"&gt;field.id&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;=== 'dropdown'){&lt;BR /&gt;&amp;nbsp; &amp;nbsp; var conditionalfield = scope.findFormFieldWithId(scope.allFormFields, 'conditionalmandatory')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; if(&lt;A href="http://field.value.id/" target="_blank" rel="noopener noreferrer nofollow"&gt;field.value.id&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;=== 'optional'){&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; conditionalfield.required = false&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; else if(&lt;A href="http://field.value.id/" target="_blank" rel="noopener noreferrer nofollow"&gt;field.value.id&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;=== 'mandatory'){&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;conditionalfield.required = true&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;FormRendered:&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;&lt;DIV class="gs"&gt;&lt;DIV class=""&gt;&lt;DIV class="ii gt"&gt;&lt;DIV class="a3s aXjCH "&gt;var dropdownfield = scope.findFormFieldWithId(scope.allFormFields, 'dropdown')&lt;BR /&gt;var conditionalfield = scope.findFormFieldWithId(scope.allFormFields, 'conditionalmandatory')&lt;BR /&gt;if(&lt;A href="http://dropdownfield.value.id/" target="_blank" rel="noopener noreferrer nofollow"&gt;dropdownfield.value.id&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;=== 'optional'){&lt;BR /&gt;&amp;nbsp; &amp;nbsp; conditionalfield.required = false&lt;BR /&gt;}&lt;BR /&gt;else if(&lt;A href="http://dropdownfield.value.id/" target="_blank" rel="noopener noreferrer nofollow"&gt;dropdownfield.value.id&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;=== 'mandatory'){&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;conditionalfield.required = true&lt;BR /&gt;}&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;This script work correct, but in adf don´t work&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;the version of Process is 1.11 and the ADF is 3.8&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;Thank´s for your support&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="a3s aXjCH "&gt;J.Carlos&lt;/DIV&gt;&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="hi"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Jun 2020 09:03:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40217#M16864</guid>
      <dc:creator>Juancarlos_gp</dc:creator>
      <dc:date>2020-06-05T09:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Process scripts in adf</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40218#M16865</link>
      <description>&lt;P&gt;The old AngularJS scripts are not supported by ADF and Angular.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 16:01:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/process-scripts-in-adf/m-p/40218#M16865</guid>
      <dc:creator>dvuika</dc:creator>
      <dc:date>2020-06-17T16:01:05Z</dc:date>
    </item>
  </channel>
</rss>

