Closed DianeWold closed 2 months ago
Added as rule DDF99973.
The part of this rule that says a timeline must have an exit duplicates rule DDF00037 (CHK0034).
Updated the statement of the rule, in this issue and the rules engine, to clarify that this rule checks links from the ScheduleTimeline.
As discussed during the Scrum, this check is based on ids present in the scheduletimeline class: at least ... specified/referenced in that class. Rule DDF00037 / CHK0034 is based on the scheduledActivityInstance class: at least one of them, within a timeline should have an exit. Of course, the exits referred to should correspond to existing activityInstances/decisionInstances that are included in the specific Scheduletimelin. I created 2 new schema check descriptions to cover this for entry and exitIds: CHK0103 + CHK0104.
CHK0084: 1 entry id, 1 exit id and at least 1 referenced instance A ScheduleTimeline must have at least one "instances" link to a ScheduledInstance. Among the ScheduledInstances linked to a ScheduleTimeline via the "instances" link, one must also be linked via the "entry" link. Among theScheduledInstances linked to a ScheduledTimeline, one must have a link to the ScheduledTimelineExit.