Specifying version in a Java API call
- Last Updated: October 26, 2026
- 1 minute read
- Corticon
- Version 7.1
- Documentation
The following versions of the execute() method exist -- two for Collections and two for Maps -- each providing arguments for major and major + minor Decision Service version:
ICcRule Messages execute (
String astrDecisionServiceName,
Collection acolWorkObjs,
int aiDecisionServiceTargetMajorVersion
)
ICcRule Messages execute (
String astrDecisionServiceName,
Collection acolWorkObjs,
int aiDecisionServiceTargetMajorVersion,
int aiDecisionServiceTargetMinorVersion
)
ICcRule Messages execute (
String astrDecisionServiceName,
Map amapWorkObjs,
int aiDecisionServiceTargetMajorVersion
)
ICcRule Messages execute (
String astrDecisionServiceName,
Map amapWorkObjs,
int aiDecisionServiceTargetMajorVersion,
int aiDecisionServiceTargetMinorVersion
)
where:
astrDecisionServiceNameis the Decision Service Name String value.acolWorkObjsis the collection of Java Business Objects – the date "payload."aiDecisionServiceTargetMajorVersionis the Major version number.aiDecisionServiceTargetMinorVersionis the Minor version number.
More information on this variant of the execute() method may be found in the JavaDoc.