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

Requirement of message flash after task completion

  • 1.  Requirement of message flash after task completion

    Posted Mon January 31, 2011 06:33 AM

    Hi
    We have a requirement wherein we need to display a specified completion message once user clicks on submit button to complete the task.In our case once user clicks on submit button he is directed to inbox and task gets completed but requirement is to flash a completion message.
    Another issue is if access task using link of type as mentioned below user is directed to inbox on completion but if use TASK URL nothing happens on screen on clicking submit but task gets completed as specified in action.

    /1EDAA099-89AA-5A0A-0005-21FED3AC0C38.task.app.details.page?wmp_tc=7816&wmp_rt=render&cancelUrl=%2fmeta%2fdefault%2fwm_xt_fabricfolder%2f0000004443%3fwmp_tc%3d7411%26wmp_rt%3drender%26wmp_tv%3d%252fTaskInboxSearchResults%252fview.view%26sh.wmp_ks%3dtrue&finishUrl=%2fmeta%2fdefault%2fwm_xt_fabricfolder%2f0000004443%3fwmp_tc%3d7411%26wmp_rt%3daction%26wmp_ta%3drefreshTaskSearchProvider%26wmp_tv%3d%252fTaskInboxSearchResults%252fview.view%26sh.wmp_ks%3dtrue&taskID=

    Regards
    Anuj


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


  • 2.  RE: Requirement of message flash after task completion

    Posted Tue February 01, 2011 09:17 PM

    This is pretty much what a generated Task Start portlet does. When you click the submit button, there is a generated onclick javascript:

    CAF.model("#{NewTaskStartDefaultviewView.clientIds["statusDialog"]}").show()

    So i would recommend generating a scratch Task Project with a Task Start portlet and having a look at the technique to see if you can adapt it to fit your use case.

    Regards,
    –mark


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


  • 3.  RE: Requirement of message flash after task completion

    Posted Wed February 16, 2011 12:40 PM

    Hi Mark,

    As mentioned by you i have added the javascript and it is working fine. But my problem is, this flash pops on the screen and within a second it goes off.
    I have added a button “okay” and want that, till the time i do not click on the “okay” button the flash should remain on the screen. I have tried adding different actions and clent side events but nothing works.

    Regards
    Chhavi


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


  • 4.  RE: Requirement of message flash after task completion

    Posted Wed February 16, 2011 05:25 PM

    This is because the async command button is invoking the actual command, and then afterwards redirecting to another page. It sounds like instead you should have the ok button of the popup dialog do that.

    Regards,
    –mark


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