<?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: Changing business key after process start in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99449#M68756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any plans to change this behaviour?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To me it seems very common that the business key can not determined before the process starts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would also be nice to support multiple business keys to support scenarios in which several systems have to be integrated using different keys for correlation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2012 12:02:37 GMT</pubDate>
    <dc:creator>kaech</dc:creator>
    <dc:date>2012-06-20T12:02:37Z</dc:date>
    <item>
      <title>Changing business key after process start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99447#M68754</link>
      <description>Hi,I want to implement correlation with an external system and the businesskey (orderid) is generated as part of the process and not upfront.Is it possible to change the business key after the process has been started?</description>
      <pubDate>Wed, 20 Jun 2012 10:47:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99447#M68754</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2012-06-20T10:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changing business key after process start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99448#M68755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BEWARE: non-API advice: The only way to do this, is to cast the DelegateExecution to a ExecutionEntity and call setBusinessKey(..) on it. This should be done IN activiti-context, best in the step that actually calculates/fetches the business key -&amp;gt; so in a JavaDelegate.execute() or a task/execution-listener.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, this is not a public API. Also, errors can occur (database-constraints exception) when setting the business-key to a value that is already present in the runtime/history process-instances.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 11:23:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99448#M68755</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-20T11:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing business key after process start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99449#M68756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any plans to change this behaviour?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To me it seems very common that the business key can not determined before the process starts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would also be nice to support multiple business keys to support scenarios in which several systems have to be integrated using different keys for correlation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 12:02:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99449#M68756</guid>
      <dc:creator>kaech</dc:creator>
      <dc:date>2012-06-20T12:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing business key after process start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99450#M68757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like you'll have to revert to the process-variables for that. You can easily correlate based on those values, e.g.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;// Get process-instancer associated to order in SystemABC&lt;BR /&gt;runtimeService.createProcessInstanceQuery().variableValueEquals("orderNumberFromSystemABC","ORD-22598125").singeResult();&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 12:19:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/changing-business-key-after-process-start/m-p/99450#M68757</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-20T12:19:58Z</dc:date>
    </item>
  </channel>
</rss>

