sadly that aint doing it either.
I noticed on my docker container that the method IS being executed. but nothing in the logs file.
If i cause an intentional bug (500 error crash) than espocrm fills in log file just fine. but regardless if I use my method or yours - log file is empty.
simulate workflow action
Collapse
X
-
If you want to log data in the logs use this:
PHP Code:$GLOBALS['log']->debug('Here is my variable:');
Leave a comment:
-
ah yes, I forgot to mention.
I did try that and it seems to not work.
I have this single line `error_log("A Entity data: " . print_r($entity->toArray(), true));` in the method but it does not egt executed.
Or atleast not in a away i would prefer since in the data/logs file - i dont see any output.Leave a comment:
-
simulate workflow action
I have a workflow action on email recieve with attachment.
Since i am on localhost (using docker) - I cant simply just send an email to myself so espocrm would detect.
How would I simulate an email workflow action to test my action?
The espocrm docs dont provide any info about this https://docs.espocrm.com/administration/workflows/Tags: None
Leave a comment: