<?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: How to generate a user task Form in customized web application in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173622#M126759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The formkey would be a string that can uniquely identify which UI you need to show. Which string that is, that is up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't have to worry about the FormEngine, it is not used anymore (legacy)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 11:24:11 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-05-22T11:24:11Z</dc:date>
    <item>
      <title>How to generate a user task Form in customized web application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173616#M126753</link>
      <description>Hi ThereI am a new to Activiti. I have to create a workflow manager for our document management system.They don't want to use Activity Explorer.So I need to build a customize GUI for starting workflows , Reviewing user tasks etc.So far i have created views for viewing process definitions,user tasks</description>
      <pubDate>Mon, 19 May 2014 06:55:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173616#M126753</guid>
      <dc:creator>raveera</dc:creator>
      <dc:date>2014-05-19T06:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a user task Form in customized web application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173617#M126754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes., There are some good examples from the "Activiti in Action" book. So for example in chapter 6, the book discusses about how to use a Java code to submit the data that was collected from a form service., here is a snippet of the code, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Map&amp;lt;String, Object&amp;gt; processVariables = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; List&amp;lt;String&amp;gt; authorList = new ArrayList&amp;lt;String&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; authorList.add("Tijs Rademakers");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; authorList.add("Ron van Liempd");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; processVariables.put("authorList", authorList);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; runtimeService.startProcessInstanceByKey("jpaTest", processVariables);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Task task = taskService.createTaskQuery().singleResult();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Map&amp;lt;String, String&amp;gt; formProperties = new HashMap&amp;lt;String, String&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; formProperties.put("booktitle", "Activiti in Action");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; formProperties.put("isbn", "123456");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; formService.submitTaskFormData(task.getId(), formProperties);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so basically you collect the form data information from a JSP and in a spring service bean process the variable keeping this above code as benchmark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 19:08:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173617#M126754</guid>
      <dc:creator>sathish1</dc:creator>
      <dc:date>2014-05-19T19:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a user task Form in customized web application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173618#M126755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks a lot I will give it a try&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 06:41:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173618#M126755</guid>
      <dc:creator>raveera</dc:creator>
      <dc:date>2014-05-20T06:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a user task Form in customized web application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173619#M126756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a question that is related to this topic: My goal is to somehow generate a UI out of the properties (in my case a simple Swing-UI). Right now i'm not sure how to implement the renderer. Should I use the FormEngine-Class and create a new FormEngine there (but how can i register a new FormEngine). Or is the idea that i have some sort of logic that retrieves the current task, gets the task properties (FormProperties) and then passes it to a renderer. I think this is how the activiti explorer handles this task. In this case I could just place properties on the task (or use something similar to the form files from activiti explorer) and then render it myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if someone could just clarify the FormEngine, FormService part a little bit more (apart from the UserGuide) that would help a lot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 11:19:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173619#M126756</guid>
      <dc:creator>spooky</dc:creator>
      <dc:date>2014-05-20T11:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a user task Form in customized web application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173620#M126757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Or is the idea that i have some sort of logic that retrieves the current task, gets the task properties (FormProperties) and then passes it to a &amp;gt; renderer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That would be the approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that you don't need the properties on itself. You can also use the 'formKey' attribute to do something like activiti:formKey:'aUniqueIdToFindTheRightViewInSwing'. You can get the formKey through the form service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 09:02:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173620#M126757</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-21T09:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a user task Form in customized web application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173621#M126758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in case of the formKey attribute I would have pre-rendered (created) UI parts that are then just loaded by my RenderManager (or something like this). Or I could just use an external UI definition stored in a file (like the examples from the activit-explorer) and then interpret them, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And one last question: What is the FormEngine doing exactly? But as far as I understand I don't have to worry about it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 11:19:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173621#M126758</guid>
      <dc:creator>spooky</dc:creator>
      <dc:date>2014-05-21T11:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a user task Form in customized web application</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173622#M126759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The formkey would be a string that can uniquely identify which UI you need to show. Which string that is, that is up to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't have to worry about the FormEngine, it is not used anymore (legacy)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 11:24:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-generate-a-user-task-form-in-customized-web-application/m-p/173622#M126759</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-22T11:24:11Z</dc:date>
    </item>
  </channel>
</rss>

