<?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: BPMN: current execution id, process instance id in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45171#M25060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do not have a real clue what you mean. If you are in a process instance, you have already access to it…&amp;nbsp; Or do you mean as an expression in e.g. a java task somewhere?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2011 19:18:42 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-04-27T19:18:42Z</dc:date>
    <item>
      <title>BPMN: current execution id, process instance id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45170#M25059</link>
      <description>Is it possible to get the id of the current execution and/or of the current process instance within BPMN?</description>
      <pubDate>Wed, 27 Apr 2011 12:44:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45170#M25059</guid>
      <dc:creator>capacia</dc:creator>
      <dc:date>2011-04-27T12:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN: current execution id, process instance id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45171#M25060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do not have a real clue what you mean. If you are in a process instance, you have already access to it…&amp;nbsp; Or do you mean as an expression in e.g. a java task somewhere?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 19:18:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45171#M25060</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-04-27T19:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN: current execution id, process instance id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45172#M25061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes as an expression. I want to call a service using a service task and one of the parameter shall be the process instance id and/or execution id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;scriptTask id="scripttask1" name="Prepare Params" scriptFormat="groovy"&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&amp;lt;![CDATA[&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; piid = [processInstanceId];&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; eid = [executionId];&lt;BR /&gt;]]&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/scriptTask&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;serviceTask id="servicetask" name="" activiti:expression="#{myService.doSomething(piid, eid)}"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 08:36:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45172#M25061</guid>
      <dc:creator>capacia</dc:creator>
      <dc:date>2011-04-28T08:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN: current execution id, process instance id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45173#M25062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In expressions (&lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#apiExpressions" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#apiExpressions&lt;/A&gt;&lt;SPAN&gt;), you can use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;serviceTask id="servicetask" name="" activiti:expression="#{myService.doSomething(execution.id, execution.processInstanceId)}"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;In script-tasks, unfortunately, the execution (DelegateExecution) is not yet exposed (only the variables). Can you create a JIRA improvement for this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 09:31:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45173#M25062</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-04-28T09:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: BPMN: current execution id, process instance id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45174#M25063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The JIRA Improvement Ticket is created: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-800" rel="nofollow noopener noreferrer"&gt;ACT-800&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 16:51:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bpmn-current-execution-id-process-instance-id/m-p/45174#M25063</guid>
      <dc:creator>capacia</dc:creator>
      <dc:date>2011-04-28T16:51:50Z</dc:date>
    </item>
  </channel>
</rss>

