4 Replies Latest reply on Nov 20, 2017 9:33 PM by skwan

    AFSDK: How to determine if a an analytic has failed?

    brettdoyle

      Is there a way to find Analyses with a status of Error using the AFSDK?

       

                                          if (current_analysis.Status.CompareTo(AFStatus.Error) != -1)
                                          if (current_analysis.Status.HasFlag(AFStatus.Error))
                                          if (current_analysis.Status == AFStatus.Error)
      

       

      Hoping I'm missing something simple here. I've tried several ways, but no matter what the only status I find seems to be either "Enabled" or "Disabled" even though there are objects in an Error state.