GetActiveProcessesResult GetActiveProcesses(string mon)
mon. Repository connection moniker.
The GetActiveProcesses operation gets information about the processes currently executed in repository.
To execute the operation, in the mon field specify repository connection moniker. The moniker can be obtained on executing the OpenMetabase operation.
The operation results in the collection of elements containing general information about processes started and currently being executed.
Below is the example of getting information about executed processes. The request contains repository connection moniker. The response contains the list of executed processes.
{
"GetActiveProcesses" :
{
"mon" : "CDIKMKCKEHJCGOAELMMPKEGKAJIPBMFELKNPPPKHHFAHIIHI!M"
}
}
{
"GetActiveProcessesResult" :
{
"list" :
{
"it" :
[
{
"key" : "118114",
"name" : "L2. Creating an Insurance Expenses Budget"
},
{
"key" : "118088",
"name" : "Test copy"
},
{
"key" : "117931",
"name" : "Master"
},
{
"key" : "117851",
"name" : "Process with subprocess"
}
]
}
}
}
public static GetActiveProcessesResult GetActiveProcesses(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetActiveProcesses()
{
mon = moniker
};
// Get list of executed processes
var result = somClient.GetActiveProcesses(tGet);
return result;
}
See also: