<?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: REST Call Task and People form variables in the request in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211395#M164525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks trademak, very useful. Step by step I am getting to learn the APIs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found Java API documentation, but not javascript api documentation. Do you know where can I find it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Dec 2015 15:32:49 GMT</pubDate>
    <dc:creator>srojas1</dc:creator>
    <dc:date>2015-12-03T15:32:49Z</dc:date>
    <item>
      <title>REST Call Task and People form variables in the request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211390#M164520</link>
      <description>HiIn my business scenario I have a User Task which has a form associated. This form contains a people selector field. Up to this point everything correct. After the User Task, I have a REST Call Task in whose Request I want to map the value of the the people form field of the previous User Task. Wit</description>
      <pubDate>Mon, 16 Nov 2015 16:31:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211390#M164520</guid>
      <dc:creator>srojas1</dc:creator>
      <dc:date>2015-11-16T16:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST Call Task and People form variables in the request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211391#M164521</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 realised that nobody answer the question. Is it because I did not explain myself properly of because there is not answer to the question?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:42:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211391#M164521</guid>
      <dc:creator>srojas1</dc:creator>
      <dc:date>2015-11-18T13:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: REST Call Task and People form variables in the request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211392#M164522</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;Currently we support this set of field types:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; restRequestMappingFieldTypes = ['text', 'integer', 'date', 'boolean', 'dropdown', 'radio-buttons', 'typeahead', 'amount'];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you need the selected userId to be sent with the REST call, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if so, you could use another variable for example: selectedUser of long type and this variable will store the id of the selected person.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and then you could use this variable inside your REST task. (just did a process in this way and i was able to call: &lt;/SPAN&gt;&lt;A href="http://google.com/user=2" rel="nofollow noopener noreferrer"&gt;http://google.com/user=2&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:15:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211392#M164522</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-11-18T14:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: REST Call Task and People form variables in the request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211393#M164523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Vasile. Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new on this. I am using the the Activiti web app editor. Regarding your solution I have some questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - How can automatically set the id of the selected person in another variable once the person is selected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - What I need is to pass the User name via REST so I can display it in my target app. If I only have a long number, how can I access the real user name from that long number?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 16:32:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211393#M164523</guid>
      <dc:creator>srojas1</dc:creator>
      <dc:date>2015-11-20T16:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: REST Call Task and People form variables in the request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211394#M164524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sergio,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is currently not supported. You could use a script or service task to set the id and name of the user in variables that you can use in your REST call. When using a Spring bean for a service task you would be able to access all Activiti Spring beans including UserService to retrieve user information for a specific user id. &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, 30 Nov 2015 08:05:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211394#M164524</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-11-30T08:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: REST Call Task and People form variables in the request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211395#M164525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks trademak, very useful. Step by step I am getting to learn the APIs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found Java API documentation, but not javascript api documentation. Do you know where can I find it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Dec 2015 15:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211395#M164525</guid>
      <dc:creator>srojas1</dc:creator>
      <dc:date>2015-12-03T15:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST Call Task and People form variables in the request</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211396#M164526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is not really a 'javascript api': basically we expose some variables like 'execution', 'task' when writing scripts but that's it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 20:34:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-call-task-and-people-form-variables-in-the-request/m-p/211396#M164526</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-12-08T20:34:07Z</dc:date>
    </item>
  </channel>
</rss>

