(imported topic written by Bill.Ehardt)
I’m on the newest 8.2 version of BigFix/API/etc. I’m not very well versed in VB or .NET, but this was working with no problems a few months ago with 8.1.
I have a VB ASP.NET page to kick off tasks from a web page and I’m seeing something odd. I’m trying to gather some relevance after I created a new action using the RelevanceBinding class and the GetRelevanceResult function. I created a function to pull relevance below:
Function GetRelResult(ByVal Relevance As String) As String()
Dim BES As New Example.BigFixDev.RelevanceBinding()
GetRelResult = BES.GetRelevanceResult(Relevance, sUser, sPass)
End Function
When I let in run through as normal, the results come back null. When debugging and I insert a break point on the following line:
Results = GetRelResult(localrelevance)
then continue on, they come back with no issues. Below is the localrelevance that was passed to the above function:
(if (exists start date of it) then ((month of it as integer as string & “/” & day_of_month of it as string & “/” & year of it as string) of start date of it as string & " " & start time_of_day of it as string & " " & (if utc time flag of it then “UTC” else “Client Local Time”)) else (“Now”)) of bes actions whose (id of it is 9059);((month of it as integer as string & “/” & day_of_month of it as string & “/” & year of it as string) of end date of it as string & " " & end time_of_day of it as string & " " & (if utc time flag of it then “UTC” else “Client Local Time”)) of bes actions whose (id of it is 9059);concatenation “,” of targeted names of bes actions whose (id of it is 9059)
Has something changed in 8.2, should I be getting relevance a different way? Otherwise should I open an issue on this?