Using GetDevices results in a policy status of null
Are you encountering a "null" value when trying to obtain the "next_remediation" results using the "GetDevices" call found here? (GetDevices)
For example:
However, when you use a specific "GetServer" query, can you obtain a result? (GetServer)
For example:
The reason this is the case is that the results for "next_remediation" are not contained within the Database, which is what the "GetDevices" call pulls from. The "next_remediation" variable is a calculated entry that is done on the fly. When calling "GetServer", it's able to provide the complex calculation and thus, provides a result.
The reason "next_remediation" is included with a Server in the "GetDevices" call is simply a result of how the object is populated within the query.
Comments
0 comments
Article is closed for comments.