Web Service > Web Service Operations > Working with Processes > GetStartEventSettings
BpmStartEventInfo GetStartEventSettings(BpmProcessId tBpmProcess, GetStartEventSettingsArg tArg)
tBpmProcess. Moniker of opened process.
tArg. Operation execution parameters.
The GetStartEventSettings operation gets start process event settings.
To execute the operation, in the tBpmProcess field specify moniker of opened process, and in the tArg.optType field specify type of obtained settings. The moniker can be obtained after executing the OpenBpmProcess operation.
The operation results in the obtained settings.
Below is the example of getting process start event settings. The request contains moniker of opened process. The response contains the obtained settings.
{
"GetStartEventSettings" :
{
"tBpmProcess" :
{
"id" : "DICNGBKNAJKEGOAEPFPJHGAAEMHJPFIEHLGHCIACBBLCJJKA!M!S!BPAHEICDKNAJKEGOAECMEPDJAJDGAPEBCELJDMNJMLEPENHPHE"
},
"tArg" :
{
"optType" : "0"
}
}
}
{
"GetStartEventSettingsResult" :
{
"optType" : "0",
"per" :
{
"type" : "Weekly",
"wPer" :
{
"evWs" : "1",
"dsOfW" :
{
"it" : "1"
}
}
},
"rep" : "4",
"id" : "START_TIMER_EVENT",
"stDT" : "2024-12-26T07:00:00.000Z"
}
}
public static BpmStartEventInfo GetStartEventSettings(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetStartEventSettings()
{
// Create object moniker
tBpmProcess = new BpmProcessId() { id = moniker },
tArg = new GetStartEventSettingsArg()
{
optType = 0
}
};
// Get start event settings
var result = somClient.GetStartEventSettings(tGet);
return result;
}
See also: