Modifier and Type | Method and Description |
---|---|
Collection<FieldRuleResult> |
evaluateFieldRules(IntegrationRule integrationRule,
String targetName,
JsonObject queryDescribe,
JsonObject data)
Evaluates all field rules under the IntegrationRule object with the given name.
|
Collection<IntegrationRule> |
getIntegrationRules(String connectionId)
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 IDCollection<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 componenttargetName
- name of target fieldqueryDescribe
- the metadata for the querydata
- json query response recordCopyright © Veeva Systems 2017–2019. All rights reserved.