У нас есть приложение в Laravel 5, которое интегрируется с Dynamics 365 через PHP-CRM-Toolkit (https://github.com/AlexaCRM/php-crm-toolkit/).
Я хочу вызвать именованный рабочий процесс в Dynamics 365, но яневозможно найти требуемую функцию для использования в пакете. Любая помощь будет очень признательна.
У меня есть аналогичный код в .NET, но я хочу его версию в данном пакете.
try
{
// Create an ExecuteWorkflow request.
ExecuteWorkflowRequest request = new ExecuteWorkflowRequest();
//Assign the ID of the workflow you want to execute to the request.
request.WorkflowId = new Guid("xxxxxx-xxx-xxx-xxxx-xxxxxx");
//Assign the ID of the entity to execute the workflow on to the request.
request.EntityId = accountGUID;
// Execute the workflow.
ExecuteWorkflowResponse response = (ExecuteWorkflowResponse)service.Execute(request);
}