Enabling pervasive execution of workflows