<?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: Start process using REST API with file attached in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/start-process-using-rest-api-with-file-attached/m-p/25285#M10942</link>
    <description>&lt;P&gt;There's no direct API to initiate process instance with Attachments.&lt;/P&gt;&lt;P&gt;What you can do is first create the attachment in aps using &lt;A href="https://activiti.alfresco.com/activiti-app/api-explorer.html#!/content/createTemporaryRawRelatedContentUsingPOST" target="_self" rel="nofollow noopener noreferrer"&gt;content-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Get the Content ID from the response and send the same in the start-process api with the fieldID same as your form's field id.&lt;/P&gt;&lt;P&gt;You can also attach field directly thttps://activiti.alfresco.com/activiti-app/api-explorer.html#!/content/createRelatedContentOnProcessInstanceUsingPOST_1o the process instance using-&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jul 2021 18:00:56 GMT</pubDate>
    <dc:creator>abbask01</dc:creator>
    <dc:date>2021-07-16T18:00:56Z</dc:date>
    <item>
      <title>Start process using REST API with file attached</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-process-using-rest-api-with-file-attached/m-p/25284#M10941</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I know it's possible to start a business process with a file attached to form field using graphical user interface. Is it possible to do the same programmatically using Alfresco Process Services REST API?&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that POST&amp;nbsp;/enterprise/process-instances (Start a process instance) only contains variables and values fields: &lt;A href="https://activiti.alfresco.com/activiti-app/api-explorer.html#!/process-instances/startNewProcessInstanceUsingPOST" target="_blank" rel="nofollow noopener noreferrer"&gt;https://activiti.alfresco.com/activiti-app/api-explorer.html#!/process-instances/startNewProcessInstanceUsingPOST&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 08:09:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-process-using-rest-api-with-file-attached/m-p/25284#M10941</guid>
      <dc:creator>ta</dc:creator>
      <dc:date>2021-07-15T08:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Start process using REST API with file attached</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-process-using-rest-api-with-file-attached/m-p/25285#M10942</link>
      <description>&lt;P&gt;There's no direct API to initiate process instance with Attachments.&lt;/P&gt;&lt;P&gt;What you can do is first create the attachment in aps using &lt;A href="https://activiti.alfresco.com/activiti-app/api-explorer.html#!/content/createTemporaryRawRelatedContentUsingPOST" target="_self" rel="nofollow noopener noreferrer"&gt;content-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Get the Content ID from the response and send the same in the start-process api with the fieldID same as your form's field id.&lt;/P&gt;&lt;P&gt;You can also attach field directly thttps://activiti.alfresco.com/activiti-app/api-explorer.html#!/content/createRelatedContentOnProcessInstanceUsingPOST_1o the process instance using-&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 18:00:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-process-using-rest-api-with-file-attached/m-p/25285#M10942</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2021-07-16T18:00:56Z</dc:date>
    </item>
  </channel>
</rss>

