<?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 start-cloud-process component and forms in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/start-cloud-process-component-and-forms/m-p/39930#M16744</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;sorry for the long post (and my english is bad and i hope you can understand something) but&lt;BR /&gt;i am evaluating cloud activiti (with adf component) and i have some questions&lt;BR /&gt;1) I would need connector for alfresco community (I have to publish documents).&lt;BR /&gt;&lt;SPAN&gt;If I understand correctly I have to build my own connectors because activiti cloud does not have otb connectors.Right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) Form. I can associate forms to processes and tasks, but I did not understand how. Adf cloud uses the formKey property to retrieve the form. In form-cloud-service.ts:&lt;BR /&gt;&amp;nbsp;getForm (appName: string, formKey: string, version ?: number): Observable &amp;lt;FormContent&amp;gt; {&lt;BR /&gt;&amp;nbsp;let url = `$ {this.getBasePath (appName)} / form / v1 / forms / $ {formKey}`;&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;In the examples (&lt;A href="https://activiti.gitbook.io/activiti-7-developers-guide/getting-started/getting-started-activiti-cloud/getting-started-docker-compose" target="_blank" rel="noopener nofollow noreferrer"&gt;https://activiti.gitbook.io/activiti-7-developers-guide/getting-started/getting-started-activiti-cloud/getting-started-docker-compose&lt;/A&gt;) there is no image docker for the form service (the end point "/form"). I can't understand how to deploy the forms. I looked at the code and found all the methods to manage them (and the components) but I didn't understand how to use them.&lt;BR /&gt;For example, at the start of a process I have the need to have a form with a combo that retrieves data from an external source (rest). It's possible? (I have to select a customer for the process)&lt;/P&gt;&lt;P&gt;I installed the examples (getting started) and created a project with adf (generate with yeoman...) and I don't understand 2 things:&lt;BR /&gt;1) the adf start-cloud-process component uses the StartProcessCloudService service (start-process-cloud-service.ts). In the createProcess method StartProcessCloudService use the API rest&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;const url = `$ {this.getBasePath (appName)} / rb / v1 / process-&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;instances / create`;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;payload.payloadType = 'CreateProcessInstancePayload';&lt;BR /&gt;but the end point responds to a 405 error (I did not find the endpoint in the runtime bundle). removing "/ create" does not recognize the payload 'CreateProcessInstancePayload'.&lt;BR /&gt;What am I doing wrong? (I can't create the process if I don't change the Start-Process-Cloud.Component.ts source)&lt;BR /&gt;2) In task new start I want to assign the task to a user. Can't I select it through the peoplewidget? (assignee is a textWidget)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 18 May 2020 11:33:28 GMT</pubDate>
    <dc:creator>glarentis</dc:creator>
    <dc:date>2020-05-18T11:33:28Z</dc:date>
    <item>
      <title>start-cloud-process component and forms</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-cloud-process-component-and-forms/m-p/39930#M16744</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;sorry for the long post (and my english is bad and i hope you can understand something) but&lt;BR /&gt;i am evaluating cloud activiti (with adf component) and i have some questions&lt;BR /&gt;1) I would need connector for alfresco community (I have to publish documents).&lt;BR /&gt;&lt;SPAN&gt;If I understand correctly I have to build my own connectors because activiti cloud does not have otb connectors.Right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2) Form. I can associate forms to processes and tasks, but I did not understand how. Adf cloud uses the formKey property to retrieve the form. In form-cloud-service.ts:&lt;BR /&gt;&amp;nbsp;getForm (appName: string, formKey: string, version ?: number): Observable &amp;lt;FormContent&amp;gt; {&lt;BR /&gt;&amp;nbsp;let url = `$ {this.getBasePath (appName)} / form / v1 / forms / $ {formKey}`;&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;In the examples (&lt;A href="https://activiti.gitbook.io/activiti-7-developers-guide/getting-started/getting-started-activiti-cloud/getting-started-docker-compose" target="_blank" rel="noopener nofollow noreferrer"&gt;https://activiti.gitbook.io/activiti-7-developers-guide/getting-started/getting-started-activiti-cloud/getting-started-docker-compose&lt;/A&gt;) there is no image docker for the form service (the end point "/form"). I can't understand how to deploy the forms. I looked at the code and found all the methods to manage them (and the components) but I didn't understand how to use them.&lt;BR /&gt;For example, at the start of a process I have the need to have a form with a combo that retrieves data from an external source (rest). It's possible? (I have to select a customer for the process)&lt;/P&gt;&lt;P&gt;I installed the examples (getting started) and created a project with adf (generate with yeoman...) and I don't understand 2 things:&lt;BR /&gt;1) the adf start-cloud-process component uses the StartProcessCloudService service (start-process-cloud-service.ts). In the createProcess method StartProcessCloudService use the API rest&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;const url = `$ {this.getBasePath (appName)} / rb / v1 / process-&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;instances / create`;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;payload.payloadType = 'CreateProcessInstancePayload';&lt;BR /&gt;but the end point responds to a 405 error (I did not find the endpoint in the runtime bundle). removing "/ create" does not recognize the payload 'CreateProcessInstancePayload'.&lt;BR /&gt;What am I doing wrong? (I can't create the process if I don't change the Start-Process-Cloud.Component.ts source)&lt;BR /&gt;2) In task new start I want to assign the task to a user. Can't I select it through the peoplewidget? (assignee is a textWidget)&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 11:33:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-cloud-process-component-and-forms/m-p/39930#M16744</guid>
      <dc:creator>glarentis</dc:creator>
      <dc:date>2020-05-18T11:33:28Z</dc:date>
    </item>
  </channel>
</rss>

