Customer Portal

Determine success or failure of a graph from shell script

Comments 2

  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi,
    which version of Clover are you using? It should return a success or error code, more specifically:

    0 - OK
    -1 - ERROR
    -2 - ABORTED

    Jaro
  • Avatar
    jus
    0
    Comment actions Permalink
    Hi there,

    Is there a way to return "success" messages to the caller? something like the raiseError() function?
    Right now I am calling raiseError() with custom messages and then check ERROR_MESSAGE when the graph finishes.
    But this is only for error conditions. How can I do this for success situations?

    Thanks!
    Jus

Please sign in to leave a comment.