<?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: Issue with a text variable with multiple values set using REST in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9367#M4172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think&lt;EM style="color: #727174; background-color: #ffffff; border: 0px;"&gt; Assignees&amp;nbsp;&lt;/EM&gt;will hold the user(s) to whom the task was assigned to. In your case, the task was with the group&amp;nbsp;which I think was the reason for it being null.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2018 09:58:28 GMT</pubDate>
    <dc:creator>hari</dc:creator>
    <dc:date>2018-04-30T09:58:28Z</dc:date>
    <item>
      <title>Issue with a text variable with multiple values set using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9366#M4171</link>
      <description>I am using the following rest call to start a new process&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;OST&amp;nbsp;/api/enterprise/process-instancescurl 'http://localhost:9080/activiti-app/api/enterprise/process-instances' -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQ=' -H 'Content-Type: application/json' -H 'Accept: application/json' --data-binary $'</description>
      <pubDate>Sun, 29 Apr 2018 18:09:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9366#M4171</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2018-04-29T18:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a text variable with multiple values set using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9367#M4172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think&lt;EM style="color: #727174; background-color: #ffffff; border: 0px;"&gt; Assignees&amp;nbsp;&lt;/EM&gt;will hold the user(s) to whom the task was assigned to. In your case, the task was with the group&amp;nbsp;which I think was the reason for it being null.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 09:58:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9367#M4172</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2018-04-30T09:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a text variable with multiple values set using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9368#M4173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What type is&amp;nbsp;&lt;STRONG style="color: #727174; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;"assignees": ["2018", "2013"] ? defined in your process variables?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #727174; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;I can see that is marked as serializable.. but you probably want to define it as an String[] or a list of strings.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 09:58:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9368#M4173</guid>
      <dc:creator>salaboy</dc:creator>
      <dc:date>2018-04-30T09:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a text variable with multiple values set using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9369#M4174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mauricio,&lt;/P&gt;&lt;P&gt;the type of the variable assignees was "text".&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works well if I pass only one value. It doesn't work only when I pass an array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 20:48:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9369#M4174</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2018-04-30T20:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with a text variable with multiple values set using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9370#M4175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Serialized data is not returned by this API involving forms! If you set the property&amp;nbsp;&lt;SPAN class="" style="color: #d73a49; background-color: #ffffff;"&gt;&lt;EM style="color: #24292e; background-color: rgba(255, 255, 140, 0.5); font-weight: 600; margin: 0px -2px; padding: 2px;"&gt;rest&lt;/EM&gt;.&lt;EM style="color: #24292e; background-color: rgba(255, 255, 140, 0.5); font-weight: 600; margin: 0px -2px; padding: 2px;"&gt;variables&lt;/EM&gt;.&lt;EM style="color: #24292e; background-color: rgba(255, 255, 140, 0.5); font-weight: 600; margin: 0px -2px; padding: 2px;"&gt;allow&lt;/EM&gt;.&lt;EM style="color: #24292e; background-color: rgba(255, 255, 140, 0.5); font-weight: 600; margin: 0px -2px; padding: 2px;"&gt;serializable&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;=true, you can use the core engine API and get the link to the variable in response. eg:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Request&lt;BR /&gt;&lt;BR /&gt;curl 'http://localhost:8080/activiti-app/api/runtime/process-instances?tenantId=tenant_1' -H 'Authorization: Basic YWRtaW5AYXBwLmFjdGl2aXRpLmNvbTphZG1pbg==' -H 'Content-Type: application/json' -H 'Accept: application/json' --data-binary $'{"variables": [{ "name": "assignees", "value": ["2018", "2013"]}],"processDefinitionId":"serialize:2:132549", "returnVariables":true}' --compressed&lt;BR /&gt;&lt;BR /&gt;Response&lt;BR /&gt;&lt;BR /&gt;{"id":"132616","url":"http://localhost:8080/activiti-app/api/runtime/process-instances/132616","businessKey":null,"suspended":false,"ended":false,"processDefinitionId":"serialize:2:132549","processDefinitionUrl":"http://localhost:8080/activiti-app/api/repository/process-definitions/serialize:2:132549","processDefinitionKey":"serialize","activityId":"sid-11AC2671-8E15-45AF-9103-E6EC6D7F6865","variables":[{"name":"initiator","type":"string","value":"1","scope":"local"},{"name":"assignees","type":"serializable","value":null,"valueUrl":"http://localhost:8080/activiti-app/api/runtime/process-instances/132616/variables/assignees/data","scope":"local"}],"tenantId":"tenant_1","name":null,"completed":false}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2018 18:23:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/issue-with-a-text-variable-with-multiple-values-set-using-rest/m-p/9370#M4175</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2018-05-01T18:23:25Z</dc:date>
    </item>
  </channel>
</rss>

