AnsweredAssumed Answered

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

Question asked by brettdoyle on Nov 20, 2017
Latest reply on Nov 20, 2017 by skwan

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.

Outcomes