How to node script

I have dreamfactory install on windows using bitnami.
i have updated .evn file in httpd folder with node path as DF_NODEJS_PATH='C:\Program Files\nodejs’
and ran php artisan config:clear

and created script -> Process Event Scripts user user.register [POST] user.register
and script just has console.log(( tried throwing error but that didnt work too.
I can create user fine with rest api but node script is not getting executed.
how to know if node script is getting executed and where to check console.log on windows with bitnami ?

ok resloved it
for user create event we have to create script at > Process Event Scripts -> system -> system.user [POST] system.user

1 Like