<?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: Access to ActivityExecution outside of process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140945#M98734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What's your use case? In general I don't think this is a desired/supported behavior.&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>Mon, 29 Apr 2013 12:15:55 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2013-04-29T12:15:55Z</dc:date>
    <item>
      <title>Access to ActivityExecution outside of process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140944#M98733</link>
      <description>Hi,I would like to execute activity behavior (eg evaluate expressions like name or due date) without having direct access to a DelegateExecution. Any idea how i could get access to a valid execution when the code is not being called from the process?ty</description>
      <pubDate>Fri, 26 Apr 2013 13:49:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140944#M98733</guid>
      <dc:creator>gkotschy</dc:creator>
      <dc:date>2013-04-26T13:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Access to ActivityExecution outside of process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140945#M98734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What's your use case? In general I don't think this is a desired/supported behavior.&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>Mon, 29 Apr 2013 12:15:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140945#M98734</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-04-29T12:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Access to ActivityExecution outside of process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140946#M98735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a similar need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am building a weborchestration service based on activiti. I have a generic delegate that has in and out paramaters. InParamaters are variables being send to the outside service and in parameters are variables I would like to update/add to the process variables in the process instance. So when I get a response I need to access the ActivityExecution so I can evaluate the outParameters and set those from the web service response. If there is an easier way to do this please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 00:35:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140946#M98735</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2013-09-26T00:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access to ActivityExecution outside of process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140947#M98736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you do this webservice call? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your use case sounds very strange, I would expect you want to process thiose variables inside of the delegate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 06:36:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140947#M98736</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-09-30T06:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Access to ActivityExecution outside of process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140948#M98737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Our generic delegate will push messages onto a pubsub queue with the task name and task variables. The task name is something akin to a method name and the variables are its parameters. The client which reads the message is responsible for running the actual business logic with the given paramaters, and returning the output on another pubsub queue. Our engine is supposed to read this queue, find the write execution based on some meta info in the message and write any variables to the process instance (hopefully only the ones specified as out parameters in the bpmn).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see, since we have to wait for the return call to write out variables, control has to be passed out of the delegate. And we need to get a handle on the delegate again in order to pass execution back to it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 23:21:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140948#M98737</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2013-09-30T23:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Access to ActivityExecution outside of process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140949#M98738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can always implement a VariableScope instance which is backed by the "properties" retrieved from the API (runtimeService.getVariables(…) etc). Pass this variableScope to the ExpressionManager when evaluating expressions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you really need more details on the execution itself (current activity eg), query the Execution using the API…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 09:51:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-activityexecution-outside-of-process/m-p/140949#M98738</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-10-02T09:51:40Z</dc:date>
    </item>
  </channel>
</rss>

