<?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 Populating a start-form with values in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/populating-a-start-form-with-values/m-p/193943#M147073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm looking to do the following scenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. An application creates a map of keys and values that match the field-ids in an Activiti start-form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. We bring the user to Activiti and show them the start-form populated with the passed in values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the documentation I can programatically fetch and complete a start-form with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GET api/enterprise/process-definitions/{process-definition-id}/start-form&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;followed by POST api/enterprise/process-instances&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I don't want to start the process instance until the user has seen this view (mocked up):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://i.imgur.com/j4CFGYI.png" rel="nofollow noopener noreferrer"&gt;http://i.imgur.com/j4CFGYI.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this will involve this url that I see when manually starting a process with a start-form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/activiti-app/workflow/#/processes?mode=start" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/workflow/#/processes?mode=start&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Is there a way to route to a particular process instance start form like the is with task-ids and process-instance-ids in the Enterprise app?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. How would we pass things like strings, dates, file ids from the Activiti file upload endpoints?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the Share Connector can do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 21:13:54 GMT</pubDate>
    <dc:creator>mikeblum</dc:creator>
    <dc:date>2015-07-27T21:13:54Z</dc:date>
    <item>
      <title>Populating a start-form with values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/populating-a-start-form-with-values/m-p/193943#M147073</link>
      <description>I'm looking to do the following scenario:1. An application creates a map of keys and values that match the field-ids in an Activiti start-form.2. We bring the user to Activiti and show them the start-form populated with the passed in values.Looking at the documentation I can programatically fetch an</description>
      <pubDate>Mon, 27 Jul 2015 21:13:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/populating-a-start-form-with-values/m-p/193943#M147073</guid>
      <dc:creator>mikeblum</dc:creator>
      <dc:date>2015-07-27T21:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Populating a start-form with values</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/populating-a-start-form-with-values/m-p/193944#M147074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. No, only tasks/process instances currently. I've added that to our 1.4 backlog&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. That is done by some custom code in the share connector. For files,&amp;nbsp; you need to upload the file, and you can use the id you get back to populate the variable on the form. You can also pre populate the other values, but you'll have to resort to some custom coding (one way would be to use the javascript extension mechanism, see the docs section on it).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 13:27:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/populating-a-start-form-with-values/m-p/193944#M147074</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-07-28T13:27:11Z</dc:date>
    </item>
  </channel>
</rss>

