Patent attributes
To allow workflow execution on a plurality of local devices such as in a pervasive environment in a decentralized manner, the present application proposes a method and architecture for executing a workflow on a device, the workflow comprising one or more task activities (tn) comprising actions performed by devices participating in the workflow and routing activities (rin) used to transfer control and data between devices, wherein the method comprises the operations of:receiving a message representing an incoming routing activity (rij);generating from the workflow a local part (Wn) to be executed on the device;executing task activities comprised by the generated local part (Wn) on the device;performing a request to a discovery service in order to obtain one or several identifications of next devices; andsending one or more messages representing a routing activity (rij) to the one or more next devices thus identified.