/** * @url GET /:processUid/activity/:activityUid/steps/list */ public function getActivityStepsList($activityUid, $processUid, $start = 0, $limit = 10) { $response = array(); try { $task = new \ProcessMaker\BusinessModel\Task(); $data = $task->getStepsList($activityUid, $processUid, false, $start, $limit); //Response $response["success"] = true; $response["message"] = "Steps loaded successfully"; $response["data"] = $data; } catch (\Exception $e) { //Response $response["success"] = false; $response["message"] = $e->getMessage(); } return $response; }