laravolt / camunda

Convenience Laravel HTTP client wrapper to interact with Camunda REST API.
https://laravolt.dev
16 stars 11 forks source link

Get Task Client by Camunda Filter #13

Closed purwadarozatun closed 1 year ago

purwadarozatun commented 1 year ago

need to find data with standard camunda parameter example


            $tasks = TaskClient::getUnfinishedTaskWithFilter([
                "processDefinitionKey" => $processName
            ]);

            return $tasks;

and


            $tasks = TaskClient::getTaskByFilter([
                "processDefinitionKey" => $processName
            ]);

            return $tasks;
purwadarozatun commented 1 year ago

cc @uyab

uyab commented 1 year ago

Biar seragam dengan yang lain, bisa direname jadi get($parameters ? image

Lalu cukup unfinished($parameters) saja, bukan unfinishedTask, karena ini konteksnya sudah Task, tidak perlu disufiks Task lagi di nama methodnya.

purwadarozatun commented 1 year ago

Done