ServiceDesk

 View Only
  • 1.  Wait On External Event

    Posted Jan 20, 2014 09:42 PM

    Hi All,

    I'm using the "Send Change to Workflow" action in a ruleset to trigger a custom workflow I'm developing.  That workflow has a "Wait on External Event" component near the start because sometimes the Change Ticket isn't in quite the right state immediately when the ruleset runs.

    When I run the workflow in debug mode the "Wait on External Event" component triggers and the "Start Process" inside the component runs.  The "Start Process" workflow is empty apart from a logging component.  At that point the debug tool indicates the workflow has completed.  Nothing else runs - no "Wait Process" workflow, timeout, exception trigger or other error that I can see.

    The same thing happens if I publish the project and trigger it using the ruleset.

    Can anyone advise why this is occuring?  The environment is load balanced (usnig the appendix guide in the Workflow doc) if that makes a difference.



  • 2.  RE: Wait On External Event
    Best Answer

    Posted Jan 21, 2014 03:41 PM

    Check the value that's in the Time Between Checks field.  I setup a test and found that it runs the Start Process at first, then runs the wait process model at the interval specified in the Time Between Checks field.  Default is every hour.   It looks like the wait process will continue to run at that interval until a true value is passed to the end component.   You could probably setup some sort of check using hte Get ChangeTicket By Session ID component and have a Variable Exists Rule component set to pass the true value to the End component to stop the wait process.



  • 3.  RE: Wait On External Event

    Posted Jan 22, 2014 02:18 PM

    Hi Justin - thanks for the response.

    I figured out what was wrong - at some point in my testing I had ticked the "Do Not Process Timeouts And Escalations" option in LocalMachineInfo Editor.  This setting is required on fronend servers in a load balanced setup.

    I had similar results with the Pause Workflow Execution component as well in case anyone else sees this in the future.