Executing the last sorted version

When the last sorted version of a decision service is requested to be executed, the decision service with a specified decision service identifier and the latest deployment version in alphanumeric order is selected.

The latest deployment version is determined based on the value in the metadata decisionServiceVersion.

For more information about the endpoint to execute the last sorted version of a decision service, see the Last sorted version execution section in the Decision runtime REST API reference in Reference.

Note:

If you plan to use numerical versions, consider using the last semantic version execution.

For example:
  • The last sorted version execution: Version 9.0.0 is considered greater than version 10.0.0.
  • The last semantic version execution: Version 10.0.0 is considered greater than version 9.0.0, which is usually the expected behavior.
For more information about the semantic version execution, see Executing the last semantic version.