Customer Portal

Ignore Graphs with Fail components with a Graph Listener

Comments 3

  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi,

    The best way to ignore failed ExcuteGraph is with the "stop processing on fail = false". If you need to reschedule graph execution, please utilize a Jobflow Event Listener or Graph Event Listener, then choose the appropriate event type (e.g. Graph Error, Graph Finished), and in the task type select start new Graph or Jobflow.

    If this does not answer you questions, please elaborate more on your current use case.
  • Avatar
    paul.rego
    0
    Comment actions Permalink
    Sorry, let me add additional details. The event listener is to notify us of graph errors. We dont want notifications for graphs that contain fail components and are failing, since those graphs will be rescheduled.
  • Avatar
    Pedro Vazquez Rosario
    0
    Comment actions Permalink
    Hi,

    A solution I would recommend would be to create an Event Listener that triggers on Graph Error. The Event Listener will trigger a graph that will have a HTTPConnector component, which will return the error message of the failed graph. In the HTTPConnector you will need to add this URL to get the error message, you will also need to include the CloverETL Server Username and Password in the defined properties

    http://[url]:[port]/clover/simpleHttpApi/graph_status?runID=${EVENT_RUN_ID}&returnType=ERROR_MESSAGE&verbose=MESSAGE

Please sign in to leave a comment.