<?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: Activiti HTML Form in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128962#M90632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should consume the engine Java-API from within your MVC-controller. For example, use the taskService.createTaskQuery().taskAssignee("…").listPage(0,10); to get a list of tasks open for a user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, create a detail-screen for a task, that renders the required form based on the formKey (can be specified in the process-definition XML) or the form-properties. When the user has entered the data in your UI, and the filled in data arched you're controller, complete the task, submitting any variables with it using taskService.completeTask(taskId, variables) or formService.submitTaskForm(…).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2013 11:04:51 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-07-03T11:04:51Z</dc:date>
    <item>
      <title>Activiti HTML Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128957#M90627</link>
      <description>HiActiviti provides two tasks: User Task and Manual Task.What I am trying to achive is creating a HTML form that can be embedded within an Activiti process. So when the processes starts the HTML form is displayed to the user to add some information. When the user adds in information, then another Us</description>
      <pubDate>Thu, 27 Jun 2013 14:53:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128957#M90627</guid>
      <dc:creator>rj1</dc:creator>
      <dc:date>2013-06-27T14:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti HTML Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128958#M90628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's possible to add those HTML's as part of your bar-deployment and fetch them later on using repositoryService.getDeploymentResource(…) and display them in you're UI-technology. Another option is to use the getRenderedForm(…), which returns the same resource but pre-processes using expressions. This way you can replace certain placeholders in the HTML by actual process-variables. See the user guide for details, however, the "rendered form" approach doesn't have any means of "submitting" the data back to the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your UI-technology should display the form and when submitted, extract the values and pass those values to the activiti-engine, using taskService.completeTask(taskId, variablesReceivedFromUi).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 07:24:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128958#M90628</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-06-28T07:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti HTML Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128959#M90629</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;In Activiti can you pause a process without using Activiti Explorer as the UI? Actually, what I am trying to achive is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have Spring MVC that starts the process. The process is made up of a number of custom JavaDelegates. What we would like to do now is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Add a User Task as part of the process, so the User does something. However, not using Activiti Explorer at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) To pause a process&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see, the front end will call one REST endpoint that goes through the Spring MVC Controller. Now you can assume we have many User Task. Suppose the user has completed one part of the full process and they are a number of User Tasks. We don't want the user next time to do something they have already done. Will this be a different endpoint or we use the same endpoint?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, the first process might be to create a record. The next might be a User Task enter further details. So at this point, I would expect the process to pause and wait for the user enters the further details. But, the further details not through Activiit Explorer. What are the options available?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 15:43:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128959#M90629</guid>
      <dc:creator>rj1</dc:creator>
      <dc:date>2013-07-01T15:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti HTML Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128960#M90630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't get the question. When you use a user task, the process instance is already "paused", until the user task is completed. It doesn't matter if you use the Activiti Explorer or not. Can you please elaborate a bit more on your question?&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>Wed, 03 Jul 2013 10:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128960#M90630</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-07-03T10:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti HTML Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128961#M90631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can we use our UI technology instead of Activiti Explorer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what I am trying to say, suppose we a process that consists of three processes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Create a record - a JavaDelegate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Update a record - a JavaDelegate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Require further details - a User Task&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a full process connected together. Actually, this is only an example, but this full process is started from an Spring MVC Controller. We use JSON as input and output. My question is, how do I redirect the user to our UI page to allow him to give us more details and use this new details inside the running process. This new details is in JSON format. How can this be achived? The UI technology we use is JavaScript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 10:31:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128961#M90631</guid>
      <dc:creator>rj1</dc:creator>
      <dc:date>2013-07-03T10:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti HTML Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128962#M90632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should consume the engine Java-API from within your MVC-controller. For example, use the taskService.createTaskQuery().taskAssignee("…").listPage(0,10); to get a list of tasks open for a user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, create a detail-screen for a task, that renders the required form based on the formKey (can be specified in the process-definition XML) or the form-properties. When the user has entered the data in your UI, and the filled in data arched you're controller, complete the task, submitting any variables with it using taskService.completeTask(taskId, variables) or formService.submitTaskForm(…).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 11:04:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-html-form/m-p/128962#M90632</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-03T11:04:51Z</dc:date>
    </item>
  </channel>
</rss>

