<?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: Expression does not work for time cycle in timer event in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115458#M81409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The following code is responsible for getting the actual time-cycle out of the expression (org.activiti.engine.impl.jobexecutor.TimerDeclarationImpl):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; if (executionEntity == null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dueDateString = description.getExpressionText();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object dueDateValue = description.getValue(executionEntity);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dueDateValue instanceof String) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dueDateString = (String)dueDateValue;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (dueDateValue instanceof Date) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; duedate = (Date)dueDateValue;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new ActivitiException("Timer '"+executionEntity.getActivityId()+"' was not configured with a valid duration/time, either hand in a java.util.Date or a String in format 'yyyy-MM-dd'T'hh:mm:ss'");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;When used on a start-event, there is not yet an execution available, so the expression for the timeCycle is not evaluated, but rather just used as-is. This has been an issue with using expressions in start-forms as well, so I think this can be resolved in a similar way. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a JIRA for this: &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1415" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1415&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Oct 2012 07:47:35 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-10-15T07:47:35Z</dc:date>
    <item>
      <title>Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115457#M81408</link>
      <description>Hi I am using Activiti 5.10I have read the Activiti doco and it says the expression can be used for time cycle in timer event:e,g.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;${duration}&amp;lt;/timeDuration&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;My scenario is we want to read the time cycle</description>
      <pubDate>Mon, 15 Oct 2012 00:49:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115457#M81408</guid>
      <dc:creator>sensisdev</dc:creator>
      <dc:date>2012-10-15T00:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115458#M81409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The following code is responsible for getting the actual time-cycle out of the expression (org.activiti.engine.impl.jobexecutor.TimerDeclarationImpl):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; if (executionEntity == null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dueDateString = description.getExpressionText();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Object dueDateValue = description.getValue(executionEntity);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (dueDateValue instanceof String) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dueDateString = (String)dueDateValue;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (dueDateValue instanceof Date) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; duedate = (Date)dueDateValue;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new ActivitiException("Timer '"+executionEntity.getActivityId()+"' was not configured with a valid duration/time, either hand in a java.util.Date or a String in format 'yyyy-MM-dd'T'hh:mm:ss'");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;When used on a start-event, there is not yet an execution available, so the expression for the timeCycle is not evaluated, but rather just used as-is. This has been an issue with using expressions in start-forms as well, so I think this can be resolved in a similar way. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a JIRA for this: &lt;/SPAN&gt;&lt;A href="https://jira.codehaus.org/browse/ACT-1415" rel="nofollow noopener noreferrer"&gt;https://jira.codehaus.org/browse/ACT-1415&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 07:47:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115458#M81409</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-15T07:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115459#M81410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much and we will wait for Activiti 5.11 then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sean&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 22:43:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115459#M81410</guid>
      <dc:creator>sensisdev</dc:creator>
      <dc:date>2012-10-15T22:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115460#M81411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have just started learning about BPMN 2.0 with activiti-5.14 and have a process with a timer start event where I would like to make the timeCycle value configurable. If I make the value an expression like ${timeCycle}, how would I then go about setting the value at runtime?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PM.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 14:14:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115460#M81411</guid>
      <dc:creator>pondermuse1</dc:creator>
      <dc:date>2014-02-26T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115461#M81412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am still trying to figure out how a timer start event can be made configurable. Is this actually now possible in activiti version 5.14? If it isn't, are there any alternative methods to achieve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PM.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 12:24:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115461#M81412</guid>
      <dc:creator>pondermuse1</dc:creator>
      <dc:date>2014-02-27T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115462#M81413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there is already testcase in the 5.15-SNAPSHOT for expressions in TimerStartEvent (I think it should work in 5.14 too).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;process id="startTimerEventExample" name="Timer start event example"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="theStart"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDate&amp;gt;${'2036-11-14T11:12:22'}&amp;lt;/timeDate&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/startEvent&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" sourceRef="theStart" targetRef="receive"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;receiveTask id="receive"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="receive" targetRef="theEnd"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="theEnd"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/process&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;More info &lt;/SPAN&gt;&lt;CODE&gt;StartTimerEventTest&lt;/CODE&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:39:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115462#M81413</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-02-28T07:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115463#M81414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. Indeed I can see from the test and other docs that it is possible to have variable expressions for &amp;lt;timeXXX&amp;gt; values. However, I was looking for more of a practical running example showing how the expression value could be changed (at runtime) and therefore triggering the engine to update the timer job's ACT_RU_JOB table row parameters, etc. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An example use case scenario being one where the scheduled task is executing every 5 minutes while timeCycle value is "R/PT5M", and some time later the task starts executing every 10 minutes when timeCycle value is updated to "R/PT10M".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I am not yet too familiarized with activiti's different APIs so I am not too sure how I could make this trigger take place in practice. i.e. Once the expression value changes, should I use the APIs to update the timer job's parameters in ACT_RU_JOB directly? Should I maybe use the APIs to delete the current job and then deploy a new one? Should I use the APIs to delete the model and then re-deploy the model? Or something else entirely?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PM.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 11:53:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115463#M81414</guid>
      <dc:creator>pondermuse1</dc:creator>
      <dc:date>2014-02-28T11:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115464#M81415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You would need to update the job fields and save it back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is not exposed in the current API, so you must create a custom Command, that updates the Job and saves it using the JobEntityManager, and pass that to the managementService.executeJob() method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 09:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115464#M81415</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-10T09:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115465#M81416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree that Martin's test case works, in that a constant expression is evaluated. However, I am trying to use the startEvent timerDefinitionExpression as the very first poster describes, and it doesn't work. Is this expected? I was expecting to have access to my Spring beans. I am using 5.15.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="timerstartevent1" name="Timer start"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeCycle&amp;gt;${fooService.getStartTimeCycle()}&amp;lt;/timeCycle&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/startEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that I am using the @Deployment annotation on my unit test, so the Spring environment is built and running before the deployment happens.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 16:31:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115465#M81416</guid>
      <dc:creator>njames</dc:creator>
      <dc:date>2014-04-17T16:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Expression does not work for time cycle in timer event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115466#M81417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean by "it doesn't work"? Any stacktraces?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Long time ago, I added a fix, so that the expressions get resolved even of there is no execution-context alive yet (eg. on a start-event, when the execution is about to start but doesn't exist yet) TimerDeclarationImpl:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; // ACT-1415: timer-declaration on start-event may contain expressions NOT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // evaluating variables but other context, evaluating should happen nevertheless&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VariableScope scopeForExpression = executionEntity;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(scopeForExpression == null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; scopeForExpression = NoExecutionVariableScope.getSharedInstance();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;In case the fooService is configured in the "beans" map (see user guide for details on bean-resolution in expressions depending on env), it will be usable. The value returned can be either a Date or a String…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 09:34:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expression-does-not-work-for-time-cycle-in-timer-event/m-p/115466#M81417</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-04-22T09:34:52Z</dc:date>
    </item>
  </channel>
</rss>

