BpmProcessSettings GetBpmProcessSettings(BpmProcessId tBpmProcess)
tBpmProcess. Moniker of opened process.
The GetBpmProcessSettings operation gets process settings.
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 process settings.
Below is the example of getting process settings. The request contains moniker of opened process. The response contains the obtained settings.
{
"GetBpmProcessSettings" :
{
"tBpmProcess" :
{
"id" : "PCMPFKDANKDAGOAEHGGCMAILKEKKFDIEKJCJBILJBEBFPLMF!M!S!BPGFFNKBEANKDAGOAEDJNBGLCJMDPBKHHEIKDLOLJJHKCKAIFG"
}
}
}
{
"GetBpmProcessSettingsResult" :
{
"baseSettings" :
{
"roleId" : "PS-1-1",
"adminControl" : "1",
"serviceExecution" : "0",
"description" : ""
},
"paramsSettings" :
{
"bpmProcessParams" :
{
"it" :
{
"dictKey" : "338159",
"dictName" : "Plan scenario"
}
}
}
}
}
public static BpmProcessSettings GetBpmProcessSettings(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetBpmProcessSettings()
{
// Create object moniker
tBpmProcess = new BpmProcessId() { id = moniker }
};
// Get process settings
var result = somClient.GetBpmProcessSettings(tGet);
return result;
}
See also: