Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-21613

Is there an easy way to see what 'Events' are waiting to be fired?

    XMLWordPrintable

    Details

    • Type: Question
    • Status: New
    • Priority: Not specified
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core Libraries
    • Labels:
      None

      Description

      Hi,

      I would like to inhibit a WU from running if another WU performing the same operation is already running. The fail safe way to do this, (I can see) is, given that if the operation is already scheduled there will be an 'Event' in the 'wait' state, and at the end of the job a NOTIFY clears the event as its COUNT is 1, so all I need to do is check for an existence of said event.

      I can't find a library function that can probe events (i.e. like STD.System.Workunit.WorkunitList), is there such an equivalent function for events?

      I can, of course, use a soapcall using : .../WsWorkunits/WUShowScheduled  so I have a workaround, but would prefer the simplicity of a library function.

       

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              allan Allan Francis Wrobel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: