according to : https://www.espocrm.com/features/add...-for-workflow/
We can add service action to a workflow.
My Question is the parameters of the function:
what is $entity?
when I try to print_r on $entity, it gives me 'server 500'
How to debug Service Action, where to find its errors?
We can add service action to a workflow.
My Question is the parameters of the function:
Code:
<?php namespace Espo\Custom\Services; use \Espo\ORM\Entity; class TestService extends \Espo\Core\Services\Base { public function testServiceAction($workflowId, Entity $entity, array $additionalParameters = null) { //your code here } }
what is $entity?
when I try to print_r on $entity, it gives me 'server 500'
How to debug Service Action, where to find its errors?
Comment