GetSubprocessGroupFilterResult GetSubprocessGroupFilter(BpmProcessId tBpmProcess, GetSubprocessGroupFilterArg tArg)
tBpmProcess. Moniker of opened process.
tArg. Operation execution parameters.
The GetSubprocessGroupFilter operation gets filtering settings for subprocess group call.
To execute the operation, in the tBpmProcess field specify moniker of opened process, 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.
Below is the example of getting filtering settings for subprocess group call. The request contains moniker of opened process and subprocess GUID. The response contains the obtained filtering settings.
{
"GetSubprocessGroupFilter" :
{
"tBpmProcess" :
{
"id" : "CEMMBBKFAJIBGOAEOGKCAHICOFFKCBEEHJBOLHCLMPGDHOEL!M!S!BPBHCLFDKFAJIBGOAENOBOEPJFLMKFGIGEFKDDHPNEPKGKBDIO"
},
"tArg" :
{
"stpGuid" : "{E0EC9336-71A5-4B91-81C5-BEC66BB5936A}"
}
}
}
{
"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: