<?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: signal to a remote engine in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147810#M103177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for you help. I finally found my error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var.put("activityId ", "receivetask1");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the precedent instruction, i put a space after activityId so it did not know what it was I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After the errasing of this space, it works fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 09:35:11 GMT</pubDate>
    <dc:creator>fpuech</dc:creator>
    <dc:date>2013-07-10T09:35:11Z</dc:date>
    <item>
      <title>signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147801#M103168</link>
      <description>Hi everybody!I'm new, both in this forum and in activiti. So I'm sorry for asking what I suppose is a simple question, but I couldn't find any helpful answer anywhere.I need to send a signal to a receive task running on a remote activiti engine. How can I do it?My idea is the following: we run a act</description>
      <pubDate>Mon, 17 Jun 2013 08:41:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147801#M103168</guid>
      <dc:creator>nsi</dc:creator>
      <dc:date>2013-06-17T08:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147802#M103169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the Activiti REST API for that (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#N12DA3" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#N12DA3&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that we'll release a fully update REST API in the Activiti 5.13 release in a few days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 09:47:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147802#M103169</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-06-17T09:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147803#M103170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt; -&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 13:03:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147803#M103170</guid>
      <dc:creator>nsi</dc:creator>
      <dc:date>2013-06-17T13:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147804#M103171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanx for the quick answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't quite understand: /signal is already part of the 5.9 api? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My rest call is: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-rest/process-instance/1539/signal" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/process-instance/1539/signal&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it correct? It doesn't seem to work (" 405 Method Not Allowed")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks once more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Norbert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 13:04:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147804#M103171</guid>
      <dc:creator>nsi</dc:creator>
      <dc:date>2013-06-17T13:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147805#M103172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What method are you using? You should use a HTTP POST. As of 5.13 (will be released this week), there are new methods available in the REST-api related to signaling.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 07:14:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147805#M103172</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-06-18T07:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147806#M103173</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;BR /&gt;&lt;SPAN&gt;I have kind of this problem I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on activiti 5.12.1 and i would like to stay on this version if it is possible for my think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to signal a receivetask to a remote engine. I already tried to send a HTTP POST request.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HashMap&amp;lt;String, String&amp;gt; var = new HashMap&amp;lt;String, String&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var.put("activityId ", "receivetask1");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; boolean isSignalOk = activitiClient.signalReceiveTask("102461", var);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(isSignalOk);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, the request is correctly sent but i have "false" as response. I do not understand why I never get "true".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you help me please. Ask me if you want more precisions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Florent&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 14:21:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147806#M103173</guid>
      <dc:creator>fpuech</dc:creator>
      <dc:date>2013-07-04T14:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147807#M103174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is in the activitiClient.signalReceiveTask method? This is not something that is part of the Activiti code-base, so we cannot know what the method actually returns and why.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 07:02:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147807#M103174</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-05T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147808#M103175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I made a class ActivitiClient in which I have tyhe following method : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; public Boolean signalReceiveTask(String processInstanceId, HashMap&amp;lt;String, String&amp;gt; var) throws IOException {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; String varStr = objectMapper.writeValueAsString(var);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; JsonNode jsonCompleteOk = HttpUtil.executePostJson(url + "process-instance/"+processInstanceId+"/signal", varStr, user, password);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; return jsonCompleteOk.get("success").asBoolean();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTPUtil.executePostJson is simply the call to the method post. I tested it with request such as /login and it works fine. "user" and "password" are "kermit" in my case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 07:13:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147808#M103175</guid>
      <dc:creator>fpuech</dc:creator>
      <dc:date>2013-07-05T07:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147809#M103176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see you're using the legacy REST-api. If you're on 5.13, consider using the new API, which uses status-codes for indicating errors and has better error-messaging (using response JSON-body).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see any exceptions in your log? perhaps you're using the wrong process-instance id? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2013 07:43:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147809#M103176</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-09T07:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: signal to a remote engine</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147810#M103177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for you help. I finally found my error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var.put("activityId ", "receivetask1");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the precedent instruction, i put a space after activityId so it did not know what it was I think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After the errasing of this space, it works fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 09:35:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signal-to-a-remote-engine/m-p/147810#M103177</guid>
      <dc:creator>fpuech</dc:creator>
      <dc:date>2013-07-10T09:35:11Z</dc:date>
    </item>
  </channel>
</rss>

