IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Pls Help Urgent: How to set task status to Expired

  • 1.  Pls Help Urgent: How to set task status to Expired

    Posted Thu August 20, 2009 04:31 PM

    Hi,

    I need help for the problem I am facing with respect to tasks.
    I have a task and I have set the task expiration date in the Task Info and I have also created an event that should fire when the task expire date is less than current date and an action to set the task status as Expired.

    But once the task is listed in Task List Management and the task reaches its expiry date and even though I don’t perform any activity on the task, the event is not getting fired and the task status is not being set to Expired.

    Request any one of you to please reply if you have had a similar issue.

    Thanks,
    Kiran


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 2.  RE: Pls Help Urgent: How to set task status to Expired

    Posted Mon November 02, 2009 11:08 AM

    Hi…

    In the Events Tab,Set Event Type as Expiration Date Reached and

    Event Actions as Expire Task.


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 3.  RE: Pls Help Urgent: How to set task status to Expired

    Posted Mon November 02, 2009 06:13 PM

    May be you can try using rule expressions,when the task’s expiration date and time are reached (if specified).:

    Condition expression:
    #{currentTask.taskInfo.status} == “active” && #{currentTask.taskInfo.expireDate} > #{System.currentDateTime}
    Result expression:
    #{currentTask.taskInfo.status} = “expired”;
    #{currentTask.applyChanges}


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS