GetSubprocessGroupFilter

Syntax

GetSubprocessGroupFilterResult GetSubprocessGroupFilter(BpmProcessId tBpmProcess, GetSubprocessGroupFilterArg tArg)

Parameters

tBpmProcess. Moniker of opened process instance.

tArg. Operation execution parameters.

Description

The GetSubprocessGroupFilter operation gets filtering settings for subprocess group call.

Comments

To execute the operation, in the tBpmProcess field specify moniker of opened process instance, and in the tArg field specify get settings parameters. The moniker can be obtained after executing the OpenBpmProcess operation. In the tArg.stpGuid field specify subprocess unique identifier. The unique identifier can be obtained in execution results of the GetBpmWorkspace operation.

The operation results in the obtained collection of filtering conditions for subprocess group call.

Example

Below is the example of getting filtering settings for subprocess group call. The request contains moniker of opened process instance and subprocess GUID. The response contains the obtained filtering 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">
<GetSubprocessGroupFilter xmlns="http://www.fsight.ru/PP.SOM.Som">
<tBpmProcess xmlns="">
  <id>CEMMBBKFAJIBGOAEOGKCAHICOFFKCBEEHJBOLHCLMPGDHOEL!M!S!BPBHCLFDKFAJIBGOAENOBOEPJFLMKFGIGEFKDDHPNEPKGKBDIO</id>
  </tBpmProcess>
<tArg xmlns="">
  <stpGuid>{E0EC9336-71A5-4B91-81C5-BEC66BB5936A}</stpGuid>
  </tArg>
  </GetSubprocessGroupFilter>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetSubprocessGroupFilterResult 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">
<cond xmlns="">
<it>
  <type>RelationSetNumber</type>
  <exprRel>Or</exprRel>
<expr>
<paramInfo>
  <paramId>OBJ338159_0</paramId>
  <paramKey>338159</paramKey>
  </paramInfo>
  <exprType>RelationSetNumber</exprType>
  <operation>Equal</operation>
<rDimS>
  <mnk>CEMMBBKFAJIBGOAEOGKCAHICOFFKCBEEHJBOLHCLMPGDHOEL!M!S!SIKFDNMLFAJIBGOAELFNBPPBFAAAGOGOEDLMCNCFCIAKLHMKC</mnk>
  </rDimS>
  </expr>
  </it>
  </cond>
  </GetSubprocessGroupFilterResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetSubprocessGroupFilter" :
{
"tBpmProcess" :
{
"id" : "CEMMBBKFAJIBGOAEOGKCAHICOFFKCBEEHJBOLHCLMPGDHOEL!M!S!BPBHCLFDKFAJIBGOAENOBOEPJFLMKFGIGEFKDDHPNEPKGKBDIO"
},
"tArg" :
{
"stpGuid" : "{E0EC9336-71A5-4B91-81C5-BEC66BB5936A}"
}
}
}

JSON response:

{
"GetSubprocessGroupFilterResult" :
{
"cond" :
{
"it" :
{
"type" : "RelationSetNumber",
"exprRel" : "Or",
"expr" :
{
"paramInfo" :
{
"paramId" : "OBJ338159_0",
"paramKey" : "338159"
},
"exprType" : "RelationSetNumber",
"operation" : "Equal",
"rDimS" :
{
"mnk" : "CEMMBBKFAJIBGOAEOGKCAHICOFFKCBEEHJBOLHCLMPGDHOEL!M!S!SIKFDNMLFAJIBGOAELFNBPPBFAAAGOGOEDLMCNCFCIAKLHMKC"
}
}
}
}
}
}
public static GetSubprocessGroupFilterResult GetSubprocessGroupFilter(string moniker, string stepGUID)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetSubprocessGroupFilter()
{
// Create object moniker
tBpmProcess = new BpmProcessId() { id = moniker },
tArg = new GetSubprocessGroupFilterArg()
{
stpGuid = stepGUID
}
};
// Get filtering settings for subprocess group call
var result = somClient.GetSubprocessGroupFilter(tGet);
return result;
}

See also:

Working with Processes