Patent ID: 9280441
Filing Date: 2016-03-08
CPC Classification: G06F

Claim Text:
1. A method for detecting and assisting in the correction of a race condition in a workflow representation, comprising: identifying a workflow representation, the workflow representation having been at least one of previously created or previously edited, the workflow representation comprising at least two analytics, the at least two analytics being connected by at least one directed edge, the at least one directed edge representing at least one of workflow or control flow; retrieving a first contract for a first analytic of the two or more analytics, wherein the first contract specifies an input type and an output type of the first analytic, and wherein the first contract includes information required to execute the first analytic by a workflow executor; retrieving a second contract for a second analytic of the two or more analytics, wherein the second contract specifies an input type and an output type of the second analytic, and wherein the second contract includes information required to execute the second analytic by the workflow executor; determining that the output type of the first analytic matches the input type of the second analytic, based on a comparison of the first contract and the second contract; and determining that the workflow representation does not include a directed edge connecting the matched output type of the first analytic to the matched input type of the second analytic, thereby causing a race condition, the race condition being correctable by adding a directed edge in the workflow representation connecting the matched output type of the first analytic to the matched input type of the second analytic.