<?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 Please help in my use case. Waiting at receive task for a process variable to become true in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171268#M124533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Receive Task with Timer Boundary event that should get cancelled once conditional expression evaluates true.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Requirement: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Need a waiting state in activiti flow that has a java service task(or receive task with java class call in listener possible?) attached that fetches a variable in ACT tables. If variable is found 'false' should proceed with the flow cancelling the wait. Else wait there itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: This activiti variable will be updated true/false externally anytime/anyday. Based on which our activiti flow should be proceeded after wait.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Q: Do I need a timer event that calls this java service call to consistently check if the act variable value gets changed??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Q: Please guide me how to implement this use case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached my bpmn20.xml file that is not working currently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In this, I am having below elements:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a sequence flow that goes to receive task which has a listener attached that calls a history table ACT_HI_VARINST to check if variable is true/false. This receive task has a Timer Boundary Event with timecycle(R3/PT2M).&amp;nbsp;&amp;nbsp; If variable is found 'false' proceed to another java service task and ends of workflow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help. Please help me with my use case. I understand I can have 'call activiti'. Please in that case, please elaborate how to use it in my case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2013 08:10:35 GMT</pubDate>
    <dc:creator>monika_b</dc:creator>
    <dc:date>2013-12-03T08:10:35Z</dc:date>
    <item>
      <title>Please help in my use case. Waiting at receive task for a process variable to become true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171268#M124533</link>
      <description>Hi all,I am using Receive Task with Timer Boundary event that should get cancelled once conditional expression evaluates true.Requirement: Need a waiting state in activiti flow that has a java service task(or receive task with java class call in listener possible?) attached that fetches a variable i</description>
      <pubDate>Tue, 03 Dec 2013 08:10:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171268#M124533</guid>
      <dc:creator>monika_b</dc:creator>
      <dc:date>2013-12-03T08:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Please help in my use case. Waiting at receive task for a process variable to become true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171269#M124534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Able to resolve it myself. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 09:41:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171269#M124534</guid>
      <dc:creator>monika_b</dc:creator>
      <dc:date>2013-12-04T09:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Please help in my use case. Waiting at receive task for a process variable to become true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171270#M124535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you elaborate on your solution? Maybe people that find this post through Google would like to know it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Dec 2013 15:33:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171270#M124535</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-12-04T15:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Please help in my use case. Waiting at receive task for a process variable to become true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171271#M124536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes, for this basically I had a subprocess with timer defined within this I had a receive task that has a java class listener attached that eventually sets a process variable based on some logic(custom logic). This boolean variable is then passed as conditional expression to exclusive gateway that eventually either goes to a java service task (if false), else goes to the end event. In former case, the java service task again goes to the subprocess. Timer basically used for polling. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont knw how to post my activiti diagram else it would have been easier to understand.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 06:31:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171271#M124536</guid>
      <dc:creator>monika_b</dc:creator>
      <dc:date>2013-12-05T06:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Please help in my use case. Waiting at receive task for a process variable to become true</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171272#M124537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That makes sense, thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 08:51:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/please-help-in-my-use-case-waiting-at-receive-task-for-a-process/m-p/171272#M124537</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-12-05T08:51:15Z</dc:date>
    </item>
  </channel>
</rss>

