GetBpmStartInfoResult GetBpmProcessStartInfo(BpmProcessId tBpmProcess)
tBpmProcess. Moniker of opened process instance.
The GetBpmProcessStartInfo operation gets settings, with which a process can be started.
To execute the operation, in the tBpmProcess field specify moniker of opened process instance. The moniker can be obtained after executing the OpenBpmProcess operation.
The operation results in the obtained process start settings.
Below is the example of getting the settings, with which a process can be started. The request contains process moniker. The response contains the obtained settings.
{
"GetBpmProcessStartInfo" :
{
"tBpmProcess" :
{
"id" : "KFJPIMHHNIEAGOAEEAFGOBGCEMODAHJEHLCMAPAIIBPKFNCF!M!S!BPKEGJFPHHNIEAGOAEFCBLGIJBGJJAMCGEIJCHLFMJGHJLOLLI"
}
}
}
{
"GetBpmProcessStartInfoResult" :
{
"minDeadline" : "2023-06-23T18:00:00.000",
"procParams" :
{
"bpmProcessParams" :
{
"it" :
{
"dictKey" : "338159",
"dictName" : "Plan scenario"
}
}
}
}
}
public static GetBpmStartInfoResult GetBpmProcessStartInfo(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetBpmProcessStartInfo()
{
// Create object moniker
tBpmProcess = new BpmProcessId() { id = moniker }
};
// Get process start settings
var result = somClient.GetBpmProcessStartInfo(tGet);
return result;
}
See also: