Hello,

I tried it. I tried to set the offset to "+1m" as well but it doesn't work for
me. The event is generated (I can see it in the history) but the node is not
left via the edge. I see the following error in the log:

Unable to load workflowtask without Action (order_can_be_placed).


My workflow.xml is:

<node name="x_order_team1_can_be_ordered_date">
        <description>Checking if can be ordered date reached</description>

        <sendevent name="order_can_be_placed" eventtype="CAN_BE_ORDERED">
            <triggerdate databit="xorderdataset.x.can_be_ordered"
                offset="+1m"
            onlyweekdays="false"/>
        </sendevent>

        <edge to="x_order_team1">
            <event type="CAN_BE_ORDERED"/>
        </edge>

        </node>

BUT x_order_team1 doesn't get activated however history shows that CAN_BE_ORDER
event is generated and handled by teh system.


swamp.log shows in case of +1m offset:

16.03 17:01:45 [DEBUG] Entering node: x_order_team1_can_be_ordered_date
16.03 17:01:45 [DEBUG] Storing Task: #0 (action:  SendEventAction #order_can_be_
placed)
16.03 17:01:45 [DEBUG] Trigger-BaseDate is: Thu Mar 16 00:00:00 CET 2006
16.03 17:01:45 [DEBUG] Extracted offsetNumber 1
16.03 17:01:45 [DEBUG] Will set triggerOffset to 60000
16.03 17:01:45 [DEBUG] TriggerDate is: Thu Mar 16 00:01:00 CET 2006
16.03 17:01:45 [DEBUG] SendEventAction order_can_be_placed triggered!
16.03 17:01:45 [DEBUG] Wf-24: Handling event CAN_BE_ORDERED
16.03 17:01:45 [DEBUG] Wf-24:Finished Handling event CAN_BE_ORDERED
16.03 17:01:45 [DEBUG] Updated Node with id: 530
16.03 17:01:45 [DEBUG] Updated Node with id: 533
16.03 17:01:45 [DEBUG] Updated Node with id: 535
16.03 17:01:45 [DEBUG] Updated DataCondition #1879
16.03 17:01:45 [DEBUG] Updated DataCondition #1880
16.03 17:01:45 [DEBUG] Updated DataCondition #1882
16.03 17:01:45 [DEBUG] Updated DataCondition #1883
16.03 17:01:45 [DEBUG] Updated DataCondition #1886
16.03 17:01:45 [DEBUG] Updated DataCondition #1887
16.03 17:01:45 [DEBUG] Updated DataCondition #1889
16.03 17:01:45 [DEBUG] Updated DataCondition #1890
16.03 17:01:45 [DEBUG] Storing Task: #300 (action:  SendEventAction #order_can_b
e_placed)
16.03 17:01:45 [DEBUG] Wf-24:Finished Handling event DATAEDIT2_OK
16.03 17:01:45 [DEBUG] Updated Node with id: 527
16.03 17:01:45 [DEBUG] Wf-24: Handling event DATA_CHANGED
16.03 17:01:45 [DEBUG] Wf-24:Finished Handling event DATA_CHANGED
16.03 17:01:45 [INFO ] Webapp: Done with working on task with id 293
16.03 17:01:45 [ERROR] ************************************************
16.03 17:01:45 [ERROR] Did not find helpfile in path: workflows.xorder.Index
16.03 17:01:45 [ERROR] ************************************************
16.03 17:01:48 [ERROR] ************************************************
16.03 17:01:48 [ERROR] Unable to load workflowtask without Action (order_can_be_
placed).

Thanks for your help.

Regards, Gyorgy




Idézés Gyorgy Knyihar <[EMAIL PROTECTED]>:

> Hi,
>
> OK, thanks. I will check this out.
>
> Regards, Gyorgy
>
> Idézés Thomas Schmidt <[EMAIL PROTECTED]>:
>
> > Gyorgy Knyihar wrote:
> > > Hello,
> > >
> > > Is it possible to query the current (actual) date somehow and use it as a
> > > condition in and edge? For example if current_date==can_be_ordered_date
> go
> > to
> > > node order_it.
> > >
> > > Thanks, Gyorgy
> >
> > Hi, this should be possible by using a sendevent-action without a time
> > offset (untested):
> >
> > <sendevent name="reminder" eventtype="ORDER">
> >     <triggerdate databit="path.to.canbeordereddate"
> >             offset="+0d"
> >             onlyweekdays="false"/>
> > </sendevent>
> >
> > and an edge waiting for the event ORDER.
> >
> > Greetings
> >
> > --
> > Thomas Schmidt (tschmidt [at] suse.de)
> > SUSE Linux Products GmbH :: Research & Development :: Internal Tools
> > "Wer die Vergangenheit kontrolliert, kontrolliert die Zukunft.
> > Wer die Gegenwart kontrolliert, kontrolliert die Vergangenheit.", 1984
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> > that extends applications into web and mobile media. Attend the live
> webcast
> > and join the prime developer group breaking into this new coding territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > swamp-devel mailing list
> > swamp-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/swamp-devel
> > http://swamp.sf.net
> >
> >
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
> _______________________________________________
> swamp-devel mailing list
> swamp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/swamp-devel
> http://swamp.sf.net
>
>





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net

Reply via email to