Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 813183 - Start timer event does not trigger
Summary: Start timer event does not trigger
Status: NEW
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Tomas Schlosser
Depends On:
Blocks: 1102116
TreeView+ depends on / blocked
Reported: 2012-04-17 07:22 UTC by Tomas Schlosser
Modified: 2020-04-27 01:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1102116 (view as bug list)
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Tomas Schlosser 2012-04-17 07:22:00 UTC
Description of problem:
When using start timer event with timerDelay attribute, it is never triggered. Tried calling fireAllRules() and starting process by startProcess(). fireAllRules does nothing and startProcess() starts the process right away.

Version-Release number of selected component (if applicable):

How reproducible:
every time

Additional info:
pull request will follow

Comment 1 Tomas Schlosser 2012-04-17 07:31:37 UTC
pull request #87 was opened

Comment 2 Kris Verlaenen 2012-04-23 00:02:00 UTC
Currently, only start timers using timeCycle are supported.  Timer definitions can take two formats (and are internally translated into timer rules):

1) int timers: the given value is used as delay + cycle, so process will fire every time the period is over
For example:
    <startEvent id="_1" name="StartProcess" >
        <timeCycle xsi:type="tFormalExpression">500ms</timeCycle>
Int timer tranlates int timer rule: timer (int:period period)

2) cron timers (timer language is set to "cron") uses a cron expression to determine when the process should fire
translates into cron timer rule
    <startEvent id="_1" name="StartProcess" >
        <timeCycle xsi:type="tFormalExpression" language="cron">0/1 * * * * ?</timeCycle>

Comment 3 Tomas Schlosser 2012-04-24 05:30:00 UTC
Adding tecnical_note to make sure this is properly documented.

Comment 4 lcarlon 2012-05-30 23:30:26 UTC
Sorry Tomas, 

adding the technical note flag to a bug that doesn't have the product release flag doesn't trigger any docs alerts. The technical_note flag should only be used for issues that require an entry in the release notes. A better way would be to raise a docs bug or reassign the bug to me with a note stating what needs to be done.

I've removed the timerDelay entry from the Process Overview chapter.


Note You need to log in before you can comment on or make changes to this bug.