GetBpmProcessStartInfo

Syntax

GetBpmStartInfoResult GetBpmProcessStartInfo(BpmProcessId tBpmProcess)

Parameters

tBpmProcess. Moniker of opened process instance.

Description

The GetBpmProcessStartInfo operation gets settings, with which a process can be started.

Comments

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.

Example

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.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetBpmProcessStartInfo xmlns="http://www.fsight.ru/PP.SOM.Som">
<tBpmProcess xmlns="">
  <id>KFJPIMHHNIEAGOAEEAFGOBGCEMODAHJEHLCMAPAIIBPKFNCF!M!S!BPKEGJFPHHNIEAGOAEFCBLGIJBGJJAMCGEIJCHLFMJGHJLOLLI</id>
  </tBpmProcess>
  </GetBpmProcessStartInfo>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetBpmProcessStartInfoResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <minDeadline xmlns="">2023-06-23T18:00:00.000</minDeadline>
<procParams xmlns="">
<bpmProcessParams>
<it>
  <dictKey>338159</dictKey>
  <dictName>Planning version</dictName>
  </it>
  </bpmProcessParams>
  </procParams>
  </GetBpmProcessStartInfoResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetBpmProcessStartInfo" :
{
"tBpmProcess" :
{
"id" : "KFJPIMHHNIEAGOAEEAFGOBGCEMODAHJEHLCMAPAIIBPKFNCF!M!S!BPKEGJFPHHNIEAGOAEFCBLGIJBGJJAMCGEIJCHLFMJGHJLOLLI"
}
}
}

JSON response:

{
"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:

Working with Processes