<?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 REST + Call activity in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117702#M83122</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;I've got a problem. I have a process from which I refer to a separate process using a call activity. When execution reaches this separate process I want to get process instanse details, but instead of this information I get an problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTP/1.1 500 Internal Server Error [Date: Fri, 21 Dec 2012 11:03:28 GMT, Accept-Ranges: bytes, Server: Restlet-Framework/2.0.14, Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept, Content-Type: text/html;charset=UTF-8, Content-Length: 486, Connection: close]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this happens due to my separate process which invoked as an inner process (using call activity).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2012 11:07:43 GMT</pubDate>
    <dc:creator>afenske</dc:creator>
    <dc:date>2012-12-21T11:07:43Z</dc:date>
    <item>
      <title>REST + Call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117702#M83122</link>
      <description>Hello.I've got a problem. I have a process from which I refer to a separate process using a call activity. When execution reaches this separate process I want to get process instanse details, but instead of this information I get an problem:HTTP/1.1 500 Internal Server Error [Date: Fri, 21 Dec 2012</description>
      <pubDate>Fri, 21 Dec 2012 11:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117702#M83122</guid>
      <dc:creator>afenske</dc:creator>
      <dc:date>2012-12-21T11:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: REST + Call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117703#M83123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I've got a problem. I have a process from which I refer to a separate process using a call activity. When execution reaches this separate process I want to get process instanse details, but instead of this information I get an problem:&lt;BR /&gt;HTTP/1.1 500 Internal Server Error [Date: Fri, 21 Dec 2012 11:03:28 GMT, Accept-Ranges: bytes, Server: Restlet-Framework/2.0.14, Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept, Content-Type: text/html;charset=UTF-8, Content-Length: 486, Connection: close]&lt;BR /&gt;I think this happens due to my separate process which invoked as an inner process (using call activity).&lt;BR /&gt;&lt;BR /&gt;What problem?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;when I had problems with REST, the LOG output on Tomcat have helped…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 11:39:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117703#M83123</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2012-12-21T11:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: REST + Call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117704#M83124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello.&lt;BR /&gt;&lt;BR /&gt;I've got a problem. I have a process from which I refer to a separate process using a call activity. When execution reaches this separate process I want to get process instanse details, but instead of this information I get an problem:&lt;BR /&gt;HTTP/1.1 500 Internal Server Error [Date: Fri, 21 Dec 2012 11:03:28 GMT, Accept-Ranges: bytes, Server: Restlet-Framework/2.0.14, Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept, Content-Type: text/html;charset=UTF-8, Content-Length: 486, Connection: close]&lt;BR /&gt;I think this happens due to my separate process which invoked as an inner process (using call activity).&lt;BR /&gt;&lt;BR /&gt;What problem?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;when I had problems with REST, the LOG output on Tomcat have helped…&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, I don't understand the reason of that problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://www.pictureshack.ru/images/75328_log.png" rel="nofollow noopener noreferrer"&gt;http://www.pictureshack.ru/images/75328_log.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 14:22:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117704#M83124</guid>
      <dc:creator>afenske</dc:creator>
      <dc:date>2012-12-21T14:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST + Call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117705#M83125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;…&lt;BR /&gt;&lt;BR /&gt;Could you help me?&lt;BR /&gt;&lt;BR /&gt;[img]&lt;A href="http://www.pictureshack.ru/images/75328_log.png" rel="nofollow noopener noreferrer"&gt;http://www.pictureshack.ru/images/75328_log.png&lt;/A&gt;[/img]&lt;/BLOCKQUOTE&gt;Nice screenshot :ugeek: The exeption stacktrace in text form would be better :roll: &lt;BR /&gt;&lt;BR /&gt;Look &lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2278&amp;amp;view=previous" rel="nofollow noopener noreferrer"&gt;at that post&lt;/A&gt; with same exception&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;WARNING: Exception or error caught in resource&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.codehaus.jackson.node.ObjectNode.toString(ObjectNode.java:344)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.codehaus.jackson.node.ArrayNode.toString(ArrayNode.java:403)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.codehaus.jackson.node.ObjectNode.toString(ObjectNode.java:344)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.String.valueOf(String.java:2826)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.StringBuilder.append(StringBuilder.java:115)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.restlet.service.ConverterService.toRepresentation(ConverterService.java:213)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.restlet.resource.UniformResource.toRepresentation(UniformResource.java:667)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.restlet.resource.ServerResource.doHandle(ServerResource.java:464)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.restlet.resource.ServerResource.get(ServerResource.java:645)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;It may be the problem solution:&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;STRONG&gt;mprzycho&amp;nbsp; &lt;/STRONG&gt;&lt;BR /&gt; Post subject: Problem with retrieving properties of task form via REST API&lt;BR /&gt;Posted: Mon Aug 22, 2011 7:47 am &lt;BR /&gt;&lt;BR /&gt;I tried to get properties of task from via:&lt;BR /&gt;&lt;A href="http://localhost:8080/activiti-rest/service/form/{taskId}/properties" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-rest/service/form/{taskId}/properties&lt;/A&gt;&lt;BR /&gt;I got following exception:&lt;BR /&gt;…..&lt;BR /&gt;—-&lt;BR /&gt;&lt;STRONG&gt;frederikheremans &lt;/STRONG&gt;What properties does the task exactly have (keys + values) you were trying to get?&lt;BR /&gt;—-&lt;BR /&gt;&lt;STRONG&gt;mprzycho &lt;/STRONG&gt;Process definition looks like that:….and the problem occurs. When I did couple of changes it worked:&lt;BR /&gt;&lt;BR /&gt;I had to add script before this task and initialize variable, e.g. nameVar.&lt;BR /&gt;&lt;STRONG&gt;then I set expression of this task to "${nameVar}".&lt;BR /&gt;Now the proper value was returned.&lt;/STRONG&gt;&lt;BR /&gt;…..&lt;BR /&gt;Is it neccessary to both initialize variables (this way or by passing it through start step) and declare task formProperties to get this service done?&lt;BR /&gt;—&lt;BR /&gt;&lt;STRONG&gt;frederikheremans &lt;/STRONG&gt; If you set the variable attr readable to "true", the variable SHOULD exist when the task props are fetched, it expect a variable with that name.&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 23:50:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-activity/m-p/117705#M83125</guid>
      <dc:creator>udoderk</dc:creator>
      <dc:date>2012-12-21T23:50:47Z</dc:date>
    </item>
  </channel>
</rss>

