1. A computer implemented method comprising: extracting process data from a data source; creating a trace using the extracted process data, wherein the trace comprises a plurality of events; reorganizing the plurality of events within the trace to create a reorganized plurality of events; deriving a set comprising events that directly follow one another for a task X and a task Y from the reorganized plurality of events; deriving a set comprising events that indirectly follow one another for the task X and the task Y from the reorganized plurality of events; and detecting a process model using the set of events that directly follow one another and the set of events that indirectly follow one another; wherein detecting the process model comprises detecting a process type based on a probabilistic relationship between the task X and the task Y, the probabilistic relationship determined through statistical analysis of the set of events that directly follow one another and the set of events that indirectly follow one another.