<?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 a process programatically, variables not being set. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122067#M85979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Activiti in a Grails application. So far, it is working very well, however I can't seem to get programatic process starting working. In my code I do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, String&amp;gt; paramMap = new HashMap&amp;lt;String, String&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;… put parameters into the map ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;activitiService.runtimeService.startProcessInstanceById(params.processDefinitionKey, paramMap);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process starts, but in the variables, the type is groovySerializable, the name is correct, but the text value is not filled in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am stumped as to why it is using groovySerializable as the type since it is a HashMap of &amp;lt;String, String&amp;gt;.&amp;nbsp; A gently poking of the activiti source code didn't turn anything up. Any idea what might be going on, or where to look? It must be getting the type incorrectly somewhere, but I can't see where, or how to force it to see my parameters as the strings they are. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2013 16:21:53 GMT</pubDate>
    <dc:creator>roadtripryan</dc:creator>
    <dc:date>2013-03-29T16:21:53Z</dc:date>
    <item>
      <title>Creating a process programatically, variables not being set.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122067#M85979</link>
      <description>I'm using Activiti in a Grails application. So far, it is working very well, however I can't seem to get programatic process starting working. In my code I do:Map&amp;lt;String, String&amp;gt; paramMap = new HashMap&amp;lt;String, String&amp;gt;();… put parameters into the map ….activitiService.runtimeService.start</description>
      <pubDate>Fri, 29 Mar 2013 16:21:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122067#M85979</guid>
      <dc:creator>roadtripryan</dc:creator>
      <dc:date>2013-03-29T16:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a process programatically, variables not being set.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122068#M85980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you fill the map of variables? The startProcessInstance actually accept a Map&amp;lt;String,Object&amp;gt;. Perhaps the groovy is trying to coerce the values into a string?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2013 20:33:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122068#M85980</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-29T20:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a process programatically, variables not being set.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122069#M85981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It ended up being a problem with the grails activiti plugin. I finally found a solution here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://groups.google.com/forum/#!msg/grails-activiti-plugin/mD0aJKhiZE4/c1axXOsrSrgJ" rel="nofollow noopener noreferrer"&gt;https://groups.google.com/forum/#!msg/grails-activiti-plugin/mD0aJKhiZE4/c1axXOsrSrgJ&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 19:54:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122069#M85981</guid>
      <dc:creator>roadtripryan</dc:creator>
      <dc:date>2013-04-01T19:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a process programatically, variables not being set.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122070#M85982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great, thanks for sharing the solution!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 07:51:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-process-programatically-variables-not-being-set/m-p/122070#M85982</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-03T07:51:39Z</dc:date>
    </item>
  </channel>
</rss>

