I need to write some logic on file submit create or update. There are events in moodle eventlist
assignment create - \assignsubmission_file\event\submission_created
assignment update -\assignsubmission_file\event\submission_updated
It is not working. I am not able to identify the mistake I am making.
I ran the Purge cache and cron too.
Please guide me.
Thank you for your help in advance.