SetSubprocessGroupFilterResult SetSubprocessGroupFilter(BpmProcessId tBpmProcess, SetSubprocessGroupFilterArg tArg)
tBpmProcess. Moniker of opened process.
tArg. Operation execution parameters.
The SetSubprocessGroupFilter operation changes 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 change 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 does not return any result.
Below is the example of changing filtering settings for subprocess group call. The request contains moniker of opened process, subprocess GUID, and set filter condition with all required settings.
{
"SetSubprocessGroupFilter" :
{
"tBpmProcess" :
{
"id" : "CEMMBBKFAJIBGOAEOGKCAHICOFFKCBEEHJBOLHCLMPGDHOEL!M!S!BPBHCLFDKFAJIBGOAENOBOEPJFLMKFGIGEFKDDHPNEPKGKBDIO"
},
"tArg" :
{
"stpGuid" : "{E0EC9336-71A5-4B91-81C5-BEC66BB5936A}",
"cond" :
{
"it" :
{
"type" : "RelationSetNumber",
"exprRel" : "Or",
"expr" :
{
"paramInfo" :
{
"paramId" : "OBJ338159_0",
"paramKey" : "338159"
},
"exprType" : "RelationSetNumber",
"operation" : "Equal",
"rDimS" :
{
"mnk" : "CEMMBBKFAJIBGOAEOGKCAHICOFFKCBEEHJBOLHCLMPGDHOEL!M!S!SOHDJEEKFAJIBGOAELIELLHAOPAOELANENKGDOKFHCGLNLBOL"
}
}
}
}
}
}
}
{
"SetSubprocessGroupFilterResult" :
{
"tmp" : ""
}
}
public static SetSubprocessGroupFilterResult SetSubprocessGroupFilter(string moniker, string stepGUID, string procParamId, int procParamKey, string dimSel)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tSet = new SetSubprocessGroupFilter()
{
// Create object moniker
tBpmProcess = new BpmProcessId() { id = moniker },
tArg = new SetSubprocessGroupFilterArg()
{
stpGuid = stepGUID,
cond = new BpmCondition[1]
{
new BpmCondition()
{
type = EExpressionLogicalTypeCe.RelationSetNumber,
exprRel = BpmConditionsRelation.Or,
expr = new BpmGatewayLogicalExpression()
{
paramInfo = new BpmGatewayParamInfo()
{
paramId = procParamId,
paramKey = procParamKey
},
exprType = EExpressionLogicalTypeCe.RelationSetNumber,
operation = EOperationComparCe.Equal,
rDimS = new BpmDimSelection()
{
mnk = dimSel
}
}
}
}
}
};
// Change filtering settings for subprocess group call
var result = somClient.SetSubprocessGroupFilter(tSet);
return result;
}
See also: