<?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: How to use ServiceTask to make REST call? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39981#M16786</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use a Script task instead and implement the REST call in Groovy. There are examples out there:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://www.baeldung.com/groovy-web-services" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.baeldung.com/groovy-web-services&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/25692515/groovy-built-in-rest-http-client" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/25692515/groovy-built-in-rest-http-client&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="http://rest.elkstein.org/2008/02/using-rest-in-groovy.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://rest.elkstein.org/2008/02/using-rest-in-groovy.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 17:37:32 GMT</pubDate>
    <dc:creator>jose_leon_coupa</dc:creator>
    <dc:date>2020-05-18T17:37:32Z</dc:date>
    <item>
      <title>How to use ServiceTask to make REST call?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39980#M16785</link>
      <description>&lt;P&gt;Hi !!&lt;/P&gt;&lt;P&gt;I need help ASAP&lt;/P&gt;&lt;P&gt;I want to implement ServiceTask using expression and variable that holds the URL. So if the variable changes, the URL changes and can be used in the ServiceTask to do the REST call.&lt;/P&gt;&lt;P&gt;Can someone help me with examples, if possible?&lt;/P&gt;&lt;P&gt;Thanks for the help !!&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 14:30:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39980#M16785</guid>
      <dc:creator>alfresco1576</dc:creator>
      <dc:date>2020-05-18T14:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ServiceTask to make REST call?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39981#M16786</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use a Script task instead and implement the REST call in Groovy. There are examples out there:&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://www.baeldung.com/groovy-web-services" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.baeldung.com/groovy-web-services&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/25692515/groovy-built-in-rest-http-client" target="_blank" rel="nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/25692515/groovy-built-in-rest-http-client&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;A href="http://rest.elkstein.org/2008/02/using-rest-in-groovy.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://rest.elkstein.org/2008/02/using-rest-in-groovy.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 17:37:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39981#M16786</guid>
      <dc:creator>jose_leon_coupa</dc:creator>
      <dc:date>2020-05-18T17:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ServiceTask to make REST call?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39982#M16787</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use JavaDelegate and make rest call from that.&lt;/P&gt;&lt;P&gt;By Default Rest Call component is there so you can use that also.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 03:49:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39982#M16787</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-05-19T03:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ServiceTask to make REST call?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39983#M16788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/78712"&gt;@jose_leon_coupa&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for giving examples to use Script task. It's helped.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 15:37:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39983#M16788</guid>
      <dc:creator>alfresco1576</dc:creator>
      <dc:date>2020-05-27T15:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use ServiceTask to make REST call?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39984#M16789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/36939"&gt;@sanjaybandhniya&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Actually I was trying to find a way other than Java but thank you for the inputs as I will keep that in the bucket.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 May 2020 15:57:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-use-servicetask-to-make-rest-call/m-p/39984#M16789</guid>
      <dc:creator>alfresco1576</dc:creator>
      <dc:date>2020-05-27T15:57:49Z</dc:date>
    </item>
  </channel>
</rss>

