QueryXml¶
Performs an xquery on repository and returns the results as xml node array.
1 |
|
Parameters¶
string xquery
Specifies the query to perform on the database. The syntax of the query is quite detailed. More information can be found xquery standard page.
object parameters
Specifies the binding parameters on xquery string.
string collection
Specifies the collection name to query. If not specified, the domain database will be queried.
Remarks¶
If query does not return any result than return value is empty array.
See XML $Database
page for further information about domain and process databases.
Find all customers¶
1 2 |
|
Find customer by id¶
1 2 3 4 |
|
Info
If you want to query the database of a process, you can use the collection keyword. You have to give the name of the database which is a GUID.
For process databases, you can have that GUID by $Instance.ProcessId.
Querying process database¶
1 2 3 4 |
|