|Modifier and Type||Method and Description|
Evaluates all field rules under the IntegrationRule object with the given name.
Retrieves the list of IntegrationRules corresponding to a Connection given a connection ID.
Collection<IntegrationRule> getIntegrationRules(String connectionId)
If there are no rules corresponding to the connection ID, this returns an empty collection. If the connection ID does not exist or is inactive, this throws an exception.
connectionId- connection ID
Collection<FieldRuleResult> evaluateFieldRules(IntegrationRule integrationRule, String targetName, JsonObject queryDescribe, JsonObject data)
For each field rule, returns the resulting value for a field based on the evaluation of the rule against a json query response record.
Throws an error if the target is not found in the query response.
integrationRule- corresponding integrationRule component
targetName- name of target field
queryDescribe- the metadata for the query
data- json query response record
Copyright © Veeva Systems 2017–2019. All rights reserved.