<?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: Javascript Task that uses XPath in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript-task-that-uses-xpath/m-p/216087#M169217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was easily able to complete this via a service task.&amp;nbsp; I had code to do this already.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I was attempting a proof of concept where an editor could generate a script task to retrieve a value from a block of xml via xpath search without developing a delegate and using only javascript.&amp;nbsp; All my attempts to accomplish this task failed due lack of access to libraries, and lack of knowledge on javascript.&amp;nbsp; I was unaware that I could call out java libraries in javascript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing that I didn't try was to see if jQuery was available to javascript tasks.&amp;nbsp; That probably would have been another method that would ease things.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2016 13:31:39 GMT</pubDate>
    <dc:creator>agreen53</dc:creator>
    <dc:date>2016-07-19T13:31:39Z</dc:date>
    <item>
      <title>Javascript Task that uses XPath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-task-that-uses-xpath/m-p/216085#M169215</link>
      <description>I am running out of options and attempting to find out if there is a way to evaluate xpath expressions inside of a ScriptTask.&amp;nbsp; Long story short, I have to embed a large XML block in the process definition, and use several variables to access the appropriate value inside of the XML.&amp;nbsp; The problem I a</description>
      <pubDate>Tue, 12 Jul 2016 19:00:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-task-that-uses-xpath/m-p/216085#M169215</guid>
      <dc:creator>agreen53</dc:creator>
      <dc:date>2016-07-12T19:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Task that uses XPath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-task-that-uses-xpath/m-p/216086#M169216</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;SPAN&gt;Do you have any reason to use ScriptTask and not ServiceTask ? (I think that a service task will help a lot here)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if if still want to use ScriptTask (javascript) then you can consider calling java code from your javascript task &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;SPAN&gt; you can use: javax.xml.xpath&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 07:54:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-task-that-uses-xpath/m-p/216086#M169216</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-07-19T07:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Task that uses XPath</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-task-that-uses-xpath/m-p/216087#M169217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was easily able to complete this via a service task.&amp;nbsp; I had code to do this already.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I was attempting a proof of concept where an editor could generate a script task to retrieve a value from a block of xml via xpath search without developing a delegate and using only javascript.&amp;nbsp; All my attempts to accomplish this task failed due lack of access to libraries, and lack of knowledge on javascript.&amp;nbsp; I was unaware that I could call out java libraries in javascript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing that I didn't try was to see if jQuery was available to javascript tasks.&amp;nbsp; That probably would have been another method that would ease things.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 13:31:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-task-that-uses-xpath/m-p/216087#M169217</guid>
      <dc:creator>agreen53</dc:creator>
      <dc:date>2016-07-19T13:31:39Z</dc:date>
    </item>
  </channel>
</rss>

