Start Event Missing

Written by

in

Description

If a process chain does not have a start event, then it might not be clear where and when it has to be started, or maybe it might not be carried out after all. Although the ArchiMate Language does not contain a specified start event, the event element should be used to begin a process.

Context

Derived from: “Start Event Missing”

Consequences

If the starting eventis missing it will be hard to locate the start of the EA process.

Detection

We consider process chains that have no event element at the beginning of the chain.

Solution

A starting event should be added. In a simple EA process model, it is not required.

Example

The Business Process “Receive Order” is not triggered by an event

Cypher query

MATCH (startNode:BusinessProcess|ApplicationProcess|TechnologyProcess) <br /> WHERE NOT EXISTS((startNode)<--()) <br /> MATCH (endNode:BusinessProcess|ApplicationProcess|TechnologyProcess) <br /> CALL apoc.path.expandConfig(startNode,{relationshipFilter:"TriggeringRelationship>|FlowRelationship>|AssociationRelationship>", <br /> minLevel: $minLevel, <br /> maxLevel: $maxLevel, <br /> endNode: endNode <br /> })  <br /> YIELD path AS p <br /> RETURN p

Cypher count query

MATCH (startNode:BusinessProcess|ApplicationProcess|TechnologyProcess) <br /> WHERE NOT EXISTS((startNode)<--()) <br /> MATCH (endNode:BusinessProcess|ApplicationProcess|TechnologyProcess) <br /> CALL apoc.path.expandConfig(startNode,{relationshipFilter:"TriggeringRelationship>|FlowRelationship>|AssociationRelationship>", <br /> minLevel: $minLevel, <br /> maxLevel: $maxLevel, <br /> endNode: endNode <br /> })  <br /> YIELD path AS p <br /> RETURN count (DISTINCT startNode)

Diagram

Diagram for Start Event Missing

Tags

Understandability Problems, Process

Query parameters

[
    {
        "name": "minLevel",
        "type": "number",
        "default": 5,
        "description": "The minimum length of the path for detection."
    },
    {
        "name": "maxLevel",
        "type": "number",
        "default": 20,
        "description": "The maximum length of the path for detection."
    }
]

All smells