GetBpmProcessParams

Syntax

BpmProcessParamsSettings GetBpmProcessParams(BpmProcessId tBpmProcess)

Parameters

tBpmProcess. Moniker of opened process instance.

Description

The GetBpmProcessParams operation gets a list of process parameters.

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 collection of parameters.

Example

Below is the example of getting process parameters. The request contains moniker of opened process instance. 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">
<GetBpmProcessParams xmlns="http://www.fsight.ru/PP.SOM.Som">
<tBpmProcess xmlns="">
  <id>PCMPFKDANKDAGOAEHGGCMAILKEKKFDIEKJCJBILJBEBFPLMF!M!S!BPGFFNKBEANKDAGOAEDJNBGLCJMDPBKHHEIKDLOLJJHKCKAIFG</id>
  </tBpmProcess>
  </GetBpmProcessParams>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetBpmProcessParamsResult 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">
<bpmProcessParams xmlns="">
<it>
  <dictKey>338159</dictKey>
  <dictName>Planning version</dictName>
  </it>
  </bpmProcessParams>
  </GetBpmProcessParamsResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetBpmProcessParams" :
{
"tBpmProcess" :
{
"id" : "PCMPFKDANKDAGOAEHGGCMAILKEKKFDIEKJCJBILJBEBFPLMF!M!S!BPGFFNKBEANKDAGOAEDJNBGLCJMDPBKHHEIKDLOLJJHKCKAIFG"
}
}
}

JSON response:

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

Working with Processes