EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  Switch between handlers

    Posted Thu November 05, 2015 03:19 AM

    Hello, I m searching to terminate execution of a handler when I select another handler from a dojomenu.

    If I m  running somehting and I m waiting to see a  message and suddenly choose another handler

    the message will show up in the next handler which is something I want to avoid.

     

    Thanks in advance!

    michaeldefox


  • 2.  Re: Switch between handlers

    Posted Fri November 06, 2015 08:38 AM

    You could create a global variable and store the service name or other value then in the callback function test the value to ensure it is the service expected for this callback function.  As such, if another service is called from the dojomenu it will register a new service name or key so that when the first service's callback function is executed the value is tested and no longer "current" and callback function logic is not performed.

    -Daron

    canutri