I have difficulty making automatic course creation work via external database enrollment. The remote enrollment sync part is working perfectly, however, just creating new courses that isn't.
I have tried various configuration combinations in the external database registry. I believe I am making a mistake in the configuration or my understanding. I am using version 3.2.9 and follow below the screens to make the situation easier to understand:
1 - Registration configuration via External Database:
2 - Table used for new courses of the external system:
NOTE: I set the default value '2' to the "categoria_padrao_moodle" field which is the id of the "cursos_novo" category in Moodle.
3 - Enclosed cron / database / cli / sync.php cron result
That's it, if you need more information to help me in this situation, just ask me and I appreciate the help of the community.