<?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 Creating process variables in the GUI in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70743#M45712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Is it possible to set process variables from the GUI?&amp;nbsp; I understand that Forms can be used for user input, but we would like to set process variables directly (not through a script task, if possible).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; How can this be done?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, we do this in our Java code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HashMap&amp;lt;String, Object&amp;gt; v = new HashMap&amp;lt;String, Object&amp;gt;();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;v.put("BOKey", BOKey);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;engine.getRuntimeService().startProcessInstanceByKey("SeriesRouter", v);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;But it would be nice to set these properties through the GUI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 15:13:52 GMT</pubDate>
    <dc:creator>blezek</dc:creator>
    <dc:date>2011-10-27T15:13:52Z</dc:date>
    <item>
      <title>Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70743#M45712</link>
      <description>Hi,&amp;nbsp; Is it possible to set process variables from the GUI?&amp;nbsp; I understand that Forms can be used for user input, but we would like to set process variables directly (not through a script task, if possible).&amp;nbsp; How can this be done?Currently, we do this in our Java code:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HashMap&amp;lt;String, Objec</description>
      <pubDate>Thu, 27 Oct 2011 15:13:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70743#M45712</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2011-10-27T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70744#M45713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's exactly what user task forms are for. You can define a form on a start event to present a form in the Activiti Explorer when you start a new process instance.&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>Thu, 27 Oct 2011 16:32:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70744#M45713</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-27T16:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70745#M45714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That's exactly what user task forms are for. You can define a form on a start event to present a form in the Activiti Explorer when you start a new process instance.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to do this without user interaction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:42:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70745#M45714</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2011-10-27T16:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70746#M45715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't understand your question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you want to edit process variables in a GUI, it's always with user interaction, no?&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>Thu, 27 Oct 2011 16:46:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70746#M45715</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-27T16:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70747#M45716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I don't understand your question.&lt;BR /&gt;When you want to edit process variables in a GUI, it's always with user interaction, no?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I'll try again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do want to set the variables in a GUI, but when I design the workflow in the Eclipse editor, not after the workflow has been started inside the Activiti server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have some components in our workflows that need to behave differently depending on a process variable.&amp;nbsp; The process variables will be static in each workflow, more like a parameter that is set once rather than edited (our workflows do not have any user interaction, by design).&amp;nbsp; We would also like less technical people to design workflows, but still have control over the behavior of certain components.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as I can tell, there is no way to use the Acvititi designer to set process variables.&amp;nbsp; I do understand that I can ask for user interaction through Forms, but is only after the workflow has been started.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:58:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70747#M45716</guid>
      <dc:creator>blezek</dc:creator>
      <dc:date>2011-10-27T16:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70748#M45717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay. Creating default process variables is not something that's supported by default in the Activiti Engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It would however be simple to do by creating a process start listener or something like that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The only way at this moment to present a different user task form based on a process variable value is to create multiple user tasks and have an exclusive gateway in front.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the Activiti Explorer form engine is quite flexible and extendable, so you might want to look in customizing some stuff there.&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>Fri, 28 Oct 2011 07:10:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70748#M45717</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-28T07:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70749#M45718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Creating default process variables is not something that's supported by default in the Activiti Engine.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a bit confused by this statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Process Variables as I see can be declared 2 ways&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Form variables declared are part of the process definition XML . I can set their values from a java client as well as from GUI(explorer) at the start of the process and my REST service returns them as process variables&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Same can be done with out Form variables, by directly Java setting a map of variables. Only thing is these variables are not part of Process Definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so what exactly is not supported?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 23:42:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70749#M45718</guid>
      <dc:creator>rangoo</dc:creator>
      <dc:date>2013-04-15T23:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70750#M45719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Those two options are indeed possible in Activiti. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What Tijs is hinting at is the declaration of variables and its default values in the process xml, something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;variable name="blah" value="foo" /&amp;gt; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 10:27:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70750#M45719</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-04-16T10:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70751#M45720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mmm new forum … new habits … pasting xml straight away isn't possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I meant to post something like&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;variable name="foo" value="bar" …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;straight away in your process, not having to do anything with form variables&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 10:28:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70751#M45720</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-04-16T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70752#M45721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Joram. Also to be honest new forums suck &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; . It is slow and there is no link to see just my posts.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 15:38:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70752#M45721</guid>
      <dc:creator>rangoo</dc:creator>
      <dc:date>2013-04-16T15:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating process variables in the GUI</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70753#M45722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Joram, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has there been some changes in new Activiti Designer, with respect to above requirement. Can we now some-how provide process variables at the start of a workflow. In Eclipse form designer there are form properties associated with start event, however when I tried using them there value was not effective.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't want to implement a listener etc. because this information will be provided by business users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Himani &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 04:44:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-process-variables-in-the-gui/m-p/70753#M45722</guid>
      <dc:creator>himani</dc:creator>
      <dc:date>2015-06-22T04:44:37Z</dc:date>
    </item>
  </channel>
</rss>

