BpmProcessParamsSettings GetBpmProcessParams(BpmProcessId tBpmProcess)
tBpmProcess. Moniker of opened process.
The GetBpmProcessParams operation gets a list of process parameters.
To execute the operation, in the tBpmProcess field specify moniker of opened process. The moniker can be obtained after executing the OpenBpmProcess operation.
The operation results in the obtained collection of parameters.
Below is the example of getting process parameters. The request contains moniker of opened process. The response contains the obtained settings.
{
"GetBpmProcessParams" :
{
"tBpmProcess" :
{
"id" : "PCMPFKDANKDAGOAEHGGCMAILKEKKFDIEKJCJBILJBEBFPLMF!M!S!BPGFFNKBEANKDAGOAEDJNBGLCJMDPBKHHEIKDLOLJJHKCKAIFG"
}
}
}
{
"GetBpmProcessParamsResult" :
{
"bpmProcessParams" :
{
"it" :
{
"dictKey" : "338159",
"dictName" : "Planning version"
}
}
}
}
public static BpmProcessParamsSettings GetBpmProcessParams(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetBpmProcessParams()
{
// Create object moniker
tBpmProcess = new BpmProcessId() { id = moniker }
};
// Get information about parameters
var result = somClient.GetBpmProcessParams(tGet);
return result;
}
See also: