Task completion until Timer Response Confirm
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2013 03:38 PM
Hi there,
i'm an Alfresco user, i'm about to build a workflow, but i got a question.
Let we imagine we're in a task and after confirmation the flow leads to a ServiceTask wich have to be a sort of "Wait Deposit".
This wait deposit have to fire a query in my alfresco using a Timer (never used a timer object actually), and, after the result, if it is successful or not, i have to let the flow proceed or rest.
Is that possibile?
Can anybody help me with an attempt?
Many thanks!
i'm an Alfresco user, i'm about to build a workflow, but i got a question.
Let we imagine we're in a task and after confirmation the flow leads to a ServiceTask wich have to be a sort of "Wait Deposit".
This wait deposit have to fire a query in my alfresco using a Timer (never used a timer object actually), and, after the result, if it is successful or not, i have to let the flow proceed or rest.
Is that possibile?
Can anybody help me with an attempt?
Many thanks!
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2013 10:11 AM
I've added this between 2 Alfresco User Tasks:
<blockcode>
<intermediateCatchEvent id="messageintermediatecatchevent1" name="TimerCatchEvent">
<!–
<timerEventDefinition>
<timeDuration>PT60S</timeDuration>
</timerEventDefinition>
–>
<messageEventDefinition />
</intermediateCatchEvent>
</blockcode>
it works only if i give the timer definition (which now is commented out).
How could i set a correct "Message"? is there a way to call it from java?
thanks again!
<blockcode>
<intermediateCatchEvent id="messageintermediatecatchevent1" name="TimerCatchEvent">
<!–
<timerEventDefinition>
<timeDuration>PT60S</timeDuration>
</timerEventDefinition>
–>
<messageEventDefinition />
</intermediateCatchEvent>
</blockcode>
it works only if i give the timer definition (which now is commented out).
How could i set a correct "Message"? is there a way to call it from java?
thanks again!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2013 06:05 AM
Are you using Alfresco 4.2.x?
Yes the Activiti RuntimeService provides an API to send a message.
In the Activiti userguide you can see what's needed to define an intermediate message event.
Best regards,
Yes the Activiti RuntimeService provides an API to send a message.
In the Activiti userguide you can see what's needed to define an intermediate message event.
Best regards,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2013 05:16 PM
thank you very much!!
