Add next state parameter to workflow execution method.