- 19 Dec 2024
- 3 Minutes à lire
- SombreLumière
- PDF
taskQuery (Command)
- Mis à jour le 19 Dec 2024
- 3 Minutes à lire
- SombreLumière
- PDF
The taskQuery command allows to query server tasks that match specified search criteria.
Parameters
Parameter name | Data type | Description |
---|---|---|
sessionID | String | Required. The session identifier of the current administrative session. The logon command returns this identifier after a successful logon (see logon (Command)). |
attributeSet | TaskAttributeSet | Required. A set containing zero or more attribute fields that specify the query search criteria. See TaskAttributeSet (Data type). |
fieldSet | TaskFieldSet | Optional. Specifies the attribute fields to be returned for all the records matching the search criteria. See TaskFieldSet (Data type). If fieldSet is omitted, all possible output parameters are returned. If a task attribute field is not set in the database, it is not returned for that specific task record. |
queryOptions | TaskQueryOptions | Optional. Options to determine what results should be returned. See TaskQueryOptions (Data type). |
TaskAttributeSet (Data type)
The attributes specified in this attribute set define the search criteria.
Search attribute fields are interpreted as follows:
- A wildcard character (*) can be added to the values at the start, the end, or both. They will be interpreted as the SQL LIKE statement.
A list of comma-separated values can be specified for the attribute that specifies the domain name. In this case it will be interpreted as the logical OR of the given values.
You cannot use wildcard characters in comma-separated values.
- If none of the above applies, the search will be done using the exact match of the given value.
Element name | Data type | Description |
---|---|---|
attributes | TaskAttribute | Attributes specifying the task query search criteria (see Table: TaskAttribute (Data Type)). |
For more information about the specific attributes, see Table: taskExecute field attributes.
TaskFieldSet (Data type)
The attributes specified in the fieldSet parameter specify the task attribute fields that should be returned by OneSpan Authentication Server for the task records matching the search criteria.
If fieldSet is omitted, all possible output parameters are returned. If an attribute field is not set in the database, it is not returned for that specific record.
Element name | Data type | Description |
---|---|---|
attributeID | TaskAttributeIDEnum | The identifier of an attribute to return. |
For more information about the specific attributes, see Table: taskExecute field attributes.
TaskQueryOptions (Data type)
This data type determines what results should be returned.
Requirements
Required administrative privileges:
- View Task
Additional considerations
After upgrading OneSpan Authentication Server, server data is continuously migrated while the already-upgraded OneSpan Authentication Server service is running. Until data migration has been completed, the result of a query command may be incomplete and may include both migrated and non-migrated data. This means that values for new data fields may be missing or not set correctly in the query result.