skip to main content
Corticon Server: Integration & Deployment Guide : Decision Service versioning and effective dating : Invoking a Decision Service by version number : Specifying version in a Java API call
 

Try Corticon Now
Specifying version in a Java API call
Four 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:
*astrDecisionServiceName is the Decision Service Name String value.
*acolWorkObjs is the collection of Java Business Objects – the date payload.
*aiDecisionServiceTargetMajorVersion is the Major version number.
*aiDecisionServiceTargetMinorVersion is the Minor version number.
More information on this variant of the execute() method may be found in the JavaDoc.