Closed jherlevin closed 1 month ago
when we want to create new cases we have the following error : "Flows - Internal error while logging an Instance Event"
Without knowing much at this point, the error looks as if it is occurring when it tries to log an instance event. So things you could try to narrow down the problem:
You could try turning logging and archiving off to see if that removes the problem...
I suspect the Error: SyntaxError: Unexpected non-whitespace character after JSON at position 647 (line 37 column 1) message is actually an error in the error handling, not getting an error message back to your app properly. So don't think that is the actual problem...
resolved by deleting all records from : FLOW_STEP_EVENT_LOG & "FLOW_INSTANCE_EVENT_LOG"
Very strange.
So did you run out of space? On Always Free? Or archiving enabled with no destination?
Thanks for the quick feedback !
Login was Level Standard and retention 60days. I've disabled logging. Achiving was disabled.
One of the table was 1M+ records. I will check out details and post the details
One of the enhancements on the list is / should be to help with log purging & instance purging of complete instances after n days after the instance completes... Anyhow, glad you are up & running again... Will try to enhance this area in upcoming releases.
Thanks a Lot ! It is really an amazing tool !
The issue was confirmed as a DB running out of space. No issue is not related to Flow4Apex, only the error message was misleading
Flows for APEX version
23.1 (latest)
Oracle Database version
21c
Oracle APEX version
23.1
Have you used the BPMN-Linter in Flow Designer to Validate your Diagram?
Yes
What happened?
Since a day, when we want to make action on a cases (even delete it), we do have the following error : Error: SyntaxError: Unexpected non-whitespace character after JSON at position 647 (line 37 column 1)
Steps to reproduce
Go to all cases pages, all actions (terminate, delete, complete), raise the same error.
Expected behaviour
Before we were not having the issue.