/
Database Class
Database Class
Represents a connected MongoDB database, containing functions for interacting with the processes within MongoDB.
public class Database
Example
The following example clears the pages from a specific process in the database.
public class ClearPages : CustomNode { public override void Run() { var process = Database.GetProcessById(1); process.Document.ClearPages(); Database.UpdateProcess(process); } }
Methods
-
DeleteProcessById Method — Deletes a process from the process database by process ID.
-
GetProcessById Method — Gets a Process from the process database by process ID.
-
GetProcessesByProperty Method — Queries the MongoDB database for a list of Processes that satisfy a property match.
-
GetProcessesByQuery Method — Queries the MongoDB database for a list of Processes based on a query of combined ProcessFilters.
-
GetProcessesByStatus Method — Queries the MongoDB database for a list of Processes of a specific status.
-
GetProcessesByWorkflowName Method — Queries the MongoDB database for a list of Processes from a specific workflow.
-
InsertProcess Method — Inserts a new Process into the process database.
-
UpdateProcess Method — Updates an existing Process in the process database.
, multiple selections available,
Related content
CustomNode Class
CustomNode Class
Read with this
CaptureProcess Class
CaptureProcess Class
More like this
GetPropertyNames Method
GetPropertyNames Method
Read with this
Process Class
Process Class
More like this
UpdateProcess Method
UpdateProcess Method
More like this
RemovePage Method
RemovePage Method
More like this