<?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 Dynamic process Id generation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124032#M87287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to be able to programmatically generate process-id dynamically at runtime. You can't seem to use ${process_variables} to do this within .bpmn20.xml file – I got XML parse exception doing this. Is there any other way in XML / Java API that allows this before a Deployment is deployed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workaround is to parse .bpmn20.xml into String, replaced the Id myself, before converting it back into InputStream for Bpmn parsing, but I'm hoping to get better suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hussein&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 20:32:14 GMT</pubDate>
    <dc:creator>hyapit</dc:creator>
    <dc:date>2013-05-29T20:32:14Z</dc:date>
    <item>
      <title>Dynamic process Id generation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124032#M87287</link>
      <description>Hi guys,I'd like to be able to programmatically generate process-id dynamically at runtime. You can't seem to use ${process_variables} to do this within .bpmn20.xml file – I got XML parse exception doing this. Is there any other way in XML / Java API that allows this before a Deployment is deployed?</description>
      <pubDate>Wed, 29 May 2013 20:32:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124032#M87287</guid>
      <dc:creator>hyapit</dc:creator>
      <dc:date>2013-05-29T20:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic process Id generation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124033#M87288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can read the xml into a BpmnModel first, and change the id through the Java api. Afterwards, simply deploy that BpmnModel through the repositoryService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean with 'tag'? Don't get that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 11:57:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124033#M87288</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-05-31T11:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic process Id generation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124034#M87289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Btw, slightly off-topic, but similar problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Same goes for value of timeCycle tag. It doesn't take a ${process_variable}, and failed with XML parsing error. This contradicts with what the docs says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use expressions for the timer event definitions, by doing so you can influence the timer definition based on process variables. The process variables must contain the ISO 8601 (or cron for cycle type) string for appropriate timer type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 21:28:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124034#M87289</guid>
      <dc:creator>hyapit</dc:creator>
      <dc:date>2013-06-03T21:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic process Id generation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124035#M87290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Whoops, I meant timeCycle tag. I had angle brackets around "timeCycle" that it was removed in the forum. Apologies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;timerCycle&amp;gt;${cronExpression}&amp;lt;/timerCycle&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is failing for me with XMLParseException. Thoughts?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for the response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 01:37:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124035#M87290</guid>
      <dc:creator>hyapit</dc:creator>
      <dc:date>2013-06-04T01:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic process Id generation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124036#M87291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The timeCycle tag works ok with the XML converter. I've added the tag to the UserTaskConverter test in the activiti-bpmn-converter module to show that. I see that you use timerCycle instead of timeCycle, that could be the issue.&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>Tue, 04 Jun 2013 08:08:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-process-id-generation/m-p/124036#M87291</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-06-04T08:08:49Z</dc:date>
    </item>
  </channel>
</rss>

