Below is the example of using the GetBpmProcessStartInfo operation for getting the settings, with which a process can be started. The request contains process moniker. The response contains the obtained settings.
{
"GetBpmProcessStartInfo" :
{
"tArg" :
{
"stpGuid" : "",
"id" : "NPHEOHFBGPCDGOAEFHEOFIIANCEEIDGECLDJGGBNCPACAJOB!M!S!BPJKLPJNFBGPCDGOAEEGOFJMAOEDKBLKDEALEJKADCFIEOHNAC"
}
}
}
{
"GetBpmProcessStartInfoResult" :
{
"minDeadline" : "2024-06-22T16:33:50.921",
"procParams" :
{
"bpmProcessParams" :
{
"it" :
{
"dictMnk" : "NPHEOHFBGPCDGOAEFHEOFIIANCEEIDGECLDJGGBNCPACAJOB!M!S!SLJAHKOFBGPCDGOAEHBDHIIIEPMDDMENEHIFIEMEBEFNGJADH",
"dictName" : "Branches",
"splitParam" : "0"
}
}
}
}
}
public static GetBpmStartInfoResult GetBpmProcessStartInfo(string moniker, uint? instId = null, string subprocGUID = "")
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetBpmProcessStartInfo()
{
tArg = new GetBpmStartInfoArg()
{
id = moniker,
parentInstId = instId,
stpGuid = subprocGUID
}
};
// Get settings for starting process/subprocess
var result = somClient.GetBpmProcessStartInfo(tGet);
return result;
}
See also: