<?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: Orbeon Xform integration with Activiti workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191644#M144774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could do that with a little servlet. On orbeon side, you determine the URL where the form data should be posted to. On this endpoint, you put a little servlet. This servlet parses the Orbeon form data and extracts the process variables. Later on in this servlet, you can use the Activiti APIs to start / update process instances. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2015 12:10:46 GMT</pubDate>
    <dc:creator>b_schnarr</dc:creator>
    <dc:date>2015-05-26T12:10:46Z</dc:date>
    <item>
      <title>Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191643#M144773</link>
      <description>Is there anyway to call Activiti process engine from Orbeon Xforms so that process instance can be created and task flow can start?I couldnt find any details to start the process instance using Orbeon Rest Api (which dont support JSON).</description>
      <pubDate>Fri, 22 May 2015 16:15:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191643#M144773</guid>
      <dc:creator>shailk</dc:creator>
      <dc:date>2015-05-22T16:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191644#M144774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could do that with a little servlet. On orbeon side, you determine the URL where the form data should be posted to. On this endpoint, you put a little servlet. This servlet parses the Orbeon form data and extracts the process variables. Later on in this servlet, you can use the Activiti APIs to start / update process instances. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 12:10:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191644#M144774</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2015-05-26T12:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191645#M144775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply. How do you manage transaction since in that case Orbeon Xform engine will be call HTTP servlet and then java code within this servlet will make another HTTP REST call to start the workflow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 08:40:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191645#M144775</guid>
      <dc:creator>shailk</dc:creator>
      <dc:date>2015-05-27T08:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191646#M144776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Within your servlet, you could use the Java APIs from Activiti instead of using Activiti REST. Simply create a Maven Web-project and import the Activiti modules. Your servlet could use the same database as your other Activiti instances (like the REST-API or the Explorer). Then, you do not have any transactional problems while starting a process instance with the Activiti Java API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 08:49:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191646#M144776</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2015-05-27T08:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191647#M144777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it Orbeon form which should call Activiti engine to start the workflow or custom application makes a call to Activiti engine&amp;nbsp; which then calls calls either Orbeon form (if its form capture) or execute the task in process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a requirement where I am using front end as ASP.NET web application and I am not sure how to call Activiti engine process workflow. Could you please help with examples or link?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:03:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191647#M144777</guid>
      <dc:creator>shailk</dc:creator>
      <dc:date>2015-05-28T09:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191648#M144778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using the community edition or the commercial edition? Within the commercial edition, you can call REST-Services right from the orbeon form. The problem is, that Activiti cannot process the XML posted by Orbeon. So you need something which parses the XML and passes the variables to Activiti. I would not do that directly in Orbeon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could realize it like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Display an orbeon form which has fields for the initial process values&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Submit those values to a custom servlet&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The servlet parses the orbeon xml form data and extracts the typed in values&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Use the Activiti Java API wihtin your servlet to start a process instance with the values extracted from the orboen xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. If the instance was started correctly, send a HTTPStatusCode 200 back to orbeon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Close the orbeon form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should only have minimal business logic within your orbeon form. All other thinks (parsing XML, validate data, start process instances etc.) should be implemented in your own servlet. Otherwise, you have to add your custom logic per form. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, you should think about security. Only users with the correct rights should be able to submit those form data to Activiti. So you also need to authenticate the user in a secure way and validate the user rights. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 09:13:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191648#M144778</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2015-05-28T09:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191649#M144779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My point here is since I have ASP.NET web application which will make calls to process workflow which should render the orbeon form and then submit of form should initiate next tasks in the process workflow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to invoke activiti engine API using ASP.NET C# code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:56:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191649#M144779</guid>
      <dc:creator>shailk</dc:creator>
      <dc:date>2015-05-28T10:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Orbeon Xform integration with Activiti workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191650#M144780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, when you want to invoke the Activiti API from a .NET application, then you have to use the Activiti REST-API. Another approach would be to render the orbeon forms in your .NET application. The processing of the form data could still be done in a java servlet. Because on orbeon side, you have to determine a post-URL. To this URL, orbeon will send the submitted XML. Therefore, in all cases, you need custom logic which processes the orbeon XML. Maybe, it would be easier to to this in a java web servlet. Otherwise, you would need post the orbeon data back to your .NET app (something like a callback)., &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 11:09:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/orbeon-xform-integration-with-activiti-workflow/m-p/191650#M144780</guid>
      <dc:creator>b_schnarr</dc:creator>
      <dc:date>2015-05-28T11:09:35Z</dc:date>
    </item>
  </channel>
</rss>

