Hello everyone, I hope you're doing well
I'm new in outsystems, I'm trying to create users and each time the id =0 which is causing me so much problems that i can't retrieve anything right about the user I'm logged in with.
If anyone could help me please.
This is the Database
This is the Creation flow
This is the create or update user from inside
and this is the debugging
Thank you so much in advance.
Hey!
I could see that on your files you are not assigning the UserId to the requests, that's why you are not seeing the user ids or even the attributes from the User. Once you do this I think you will be able to see all the requests!
Let me know if it helped you!
Regards,
Márcio
Can you share an OML?
I see that you are getting UserData, but the id is really 0.
Kind Regards,
Yes sure I willCan you please check your Messages
Afnan
Hello Afnan,
Hope you're doing well.
Can you share it in the post so we can take a look?
Kind regards.
Hello Rui,
Thank you for your attention.
https://we.tl/t-zlrR1j8eqC
This is the first version which i was disappointed from, so I decided to rework the whole project
https://we.tl/t-0klCptllQSthis is the second onethere is difference in the data base of the both projects
Thank you so much,
Regards.
Hi @Afnan Asad,
Please refer to the attached OML which is fixed.
Once user is created you have to assign created userid before creating employees.
Vinod
Hi @Vinod Kumar ,
Thank you for your help, but unfortunately its still giving me 0, nothing changed.