<?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 how to add custom objects to the process instance? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75756#M49848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how to add custom objects to the process instance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;variableMap.put("assignee", authorizatorObject.getAuthorizator());&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;this won't&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;variableMap.put("authorizatorObject", authorizatorObject);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;because activiti doesn't know my object!?!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or on the process definition i need to declare authorizatorObject variable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;want to have the authorizatorObject on my process model&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 10:58:28 GMT</pubDate>
    <dc:creator>luisalves00</dc:creator>
    <dc:date>2011-04-14T10:58:28Z</dc:date>
    <item>
      <title>how to add custom objects to the process instance?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75756#M49848</link>
      <description>how to add custom objects to the process instance?this work:variableMap.put("assignee", authorizatorObject.getAuthorizator());‍this won'tvariableMap.put("authorizatorObject", authorizatorObject);‍because activiti doesn't know my object!?!?or on the process definition i need to declare authorizatorOb</description>
      <pubDate>Thu, 14 Apr 2011 10:58:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75756#M49848</guid>
      <dc:creator>luisalves00</dc:creator>
      <dc:date>2011-04-14T10:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to add custom objects to the process instance?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75757#M49849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The object need to be Serializable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;changed the object to a JPA entity and works..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem solved&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 12:35:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75757#M49849</guid>
      <dc:creator>luisalves00</dc:creator>
      <dc:date>2011-04-14T12:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to add custom objects to the process instance?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75758#M49850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Normally, Serializable is enough. JPA will of course also work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 07:52:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75758#M49850</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-04-15T07:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to add custom objects to the process instance?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75759#M49851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;from a Task object how can I get to this variable?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to be able to mess with the object on a given userTask…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 10:48:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75759#M49851</guid>
      <dc:creator>luisalves00</dc:creator>
      <dc:date>2011-04-15T10:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to add custom objects to the process instance?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75760#M49852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//get pedidoAutorizacao object from the process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pedidoAutorizacao = (PedidoAutorizacao) getActivitiEngine().getRuntimeService().getVariable(task.getProcessInstanceId(), "authRequest");&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 15:58:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-custom-objects-to-the-process-instance/m-p/75760#M49852</guid>
      <dc:creator>luisalves00</dc:creator>
      <dc:date>2011-04-15T15:58:02Z</dc:date>
    </item>
  </channel>
</rss>

