When i save an entity in workflow with run service action and that service saves the same entity again, the stream reports a update post twice for the same update. Is there anyway to fix it.
My Service action:
My Service action:
PHP Code:
class CustomServiceActions extends \Espo\Core\Services\Base {
public function action($workflowId, Entity $contactEntity, $additionalParameters = null) {
// do something
$this->getEntityManager()->saveEntity($contactEntity);
}
}
Comment