<?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: a task calls a REST web service and makes the result available to other tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223769#M176899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I use Activiti 6.0.0.Beta2 and apache-tomcat-8.0.32.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try –&amp;gt; &lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-app" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app&lt;/A&gt;&lt;SPAN&gt;&lt;SPAN&gt; (login: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:admin@app.activiti.com" rel="nofollow noopener noreferrer"&gt;admin@app.activiti.com&lt;/A&gt;&lt;SPAN&gt; / test) –&amp;gt; "Identity Management" but there is no "Tenants".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I cannot define the endpoints as explained in the video "&lt;/SPAN&gt;&lt;A href="https://www.youtube.com/watch?v=x7YCHYCIxpM" rel="nofollow noopener noreferrer"&gt;https://www.youtube.com/watch?v=x7YCHYCIxpM&lt;/A&gt;&lt;SPAN&gt;". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas why "Tenants" is missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank your for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabine&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Mar 2016 19:37:21 GMT</pubDate>
    <dc:creator>forschungsstude</dc:creator>
    <dc:date>2016-03-12T19:37:21Z</dc:date>
    <item>
      <title>a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223764#M176894</link>
      <description>hello,I use Activiti 5.17, Apache Maven 3.3.3, Apache Tomcat 7.0.62 and jdk 1.8.0_45-b15.My goal is to create a task which calls my own REST-Webservice to receive a simple PIN (4 digits). The next task should wait until the PIN is received. This is the link to my REST-Webservice returning the PIN: h</description>
      <pubDate>Mon, 07 Mar 2016 11:13:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223764#M176894</guid>
      <dc:creator>forschungsstude</dc:creator>
      <dc:date>2016-03-07T11:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223765#M176895</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;1. you could use a ServiceTask with a delegate class and inside this class you do the web service call and then put the result on the flow as a variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. related to the mule class not found you have to be sure you have the activti-mule.jar in the classpath.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 14:14:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223765#M176895</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-03-07T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223766#M176896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have also solved this problem by using a script task combined with unirest for java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is for activiti 6:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; * Javascript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; * &lt;/SPAN&gt;&lt;A href="http://unirest.io/" rel="nofollow noopener noreferrer"&gt;http://unirest.io/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; * Hint: Use maven to download all the required jar files. Place them in the webapps/activiti-app/WEB-INF/lib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; * mvn dependency:resolve&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var objectvar = {};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objectvar.name='my name';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objectvar.subobj = {};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;objectvar.subobj.testprop = 'test';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var Unirest = Java.type('com.mashape.unirest.http.Unirest');&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var response = Unirest.post("&lt;/SPAN&gt;&lt;A href="http://httpbin.org/post" rel="nofollow noopener noreferrer"&gt;http://httpbin.org/post&lt;/A&gt;&lt;SPAN&gt;").body(JSON.stringify(objectvar)).asJson();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var body = response.getBody().toString();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution.setVariable('fullJSON', body);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var bodyObj = JSON.parse(body);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;execution.setVariable('MyIp',bodyObj.origin);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Another example&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var response = Unirest.post("&lt;/SPAN&gt;&lt;A href="http://httpbin.org/post" rel="nofollow noopener noreferrer"&gt;http://httpbin.org/post&lt;/A&gt;&lt;SPAN&gt;")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .header("accept", "application/json")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .queryString("apiKey", "123")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .field("parameter", "value")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .field("foo", "bar")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; .asJson();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 10:15:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223766#M176896</guid>
      <dc:creator>maudrid</dc:creator>
      <dc:date>2016-03-08T10:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223767#M176897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"This is for activiti 6" stand for "activiti-6.0.0.Beta2.zip"&amp;nbsp; or?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabine&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:52:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223767#M176897</guid>
      <dc:creator>forschungsstude</dc:creator>
      <dc:date>2016-03-08T20:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223768#M176898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I am using Beta 2, but it may also work in older activiti 5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The script will probably not work as is on Java older that java 8, because the scripting engine is Nashorn and not Rhino.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 16:47:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223768#M176898</guid>
      <dc:creator>maudrid</dc:creator>
      <dc:date>2016-03-09T16:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223769#M176899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I use Activiti 6.0.0.Beta2 and apache-tomcat-8.0.32.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try –&amp;gt; &lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-app" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app&lt;/A&gt;&lt;SPAN&gt;&lt;SPAN&gt; (login: &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:admin@app.activiti.com" rel="nofollow noopener noreferrer"&gt;admin@app.activiti.com&lt;/A&gt;&lt;SPAN&gt; / test) –&amp;gt; "Identity Management" but there is no "Tenants".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I cannot define the endpoints as explained in the video "&lt;/SPAN&gt;&lt;A href="https://www.youtube.com/watch?v=x7YCHYCIxpM" rel="nofollow noopener noreferrer"&gt;https://www.youtube.com/watch?v=x7YCHYCIxpM&lt;/A&gt;&lt;SPAN&gt;". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas why "Tenants" is missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank your for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabine&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 19:37:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223769#M176899</guid>
      <dc:creator>forschungsstude</dc:creator>
      <dc:date>2016-03-12T19:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223770#M176900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are mixing up the Activiti open source UI and the commercial offering by Alfresco. The video is the latter and is different from the one in OSS.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 10:15:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223770#M176900</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-15T10:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: a task calls a REST web service and makes the result available to other tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223771#M176901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanx for the information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope creating a REST Webservice can also easy create at Acitivit 5.19.0.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sabine&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 20:29:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/a-task-calls-a-rest-web-service-and-makes-the-result-available/m-p/223771#M176901</guid>
      <dc:creator>forschungsstude</dc:creator>
      <dc:date>2016-03-16T20:29:57Z</dc:date>
    </item>
  </channel>
</rss>

