Default behavior with no timestamp
- Last Updated: August 14, 2023
- 1 minute read
- Corticon
- Documentation
How does Corticon Server respond when no
decisionServiceEffectiveTimestamp is specified in a request
message? In this case, Corticon Server will assume
that the value of decisionServiceEffectiveTimestamp is
equal to the DateTime of invocation—the DateTime right now. Corticon Server then selects the Decision Service which
is effective now. If more than one are effective then Corticon Server selects the Decision Service with the highest Major.Minor
Version number (as you saw in the overlap example).
<CorticonRequest xmlns="urn:decision:tutorial_example"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
decisionServiceName="skydiver4_dates">
<WorkDocuments>
<Person id="Person_id_2">
<age>42</age>
<skydiver>true</skydiver>
<ssn>111-22-1111</ssn>
</Person>
</WorkDocuments>
</CorticonRequest>
As expected, the current date (this document was drafted on 8/15/2013) was effective in all three versions. As such, the highest version applied and is noted in the reply:
<ns1:Messages version="3.0">