Hi Everyone,Please help me with the below query:
I have uploaded an Excel file containing two user records. The upload process successfully created the users and assigned their roles. However, in the portal, the user status appears as "Pending Registration" instead of "Active."
Is there an alternative approach to automatically set the user status to "Active" without requiring an email registration link to be sent?
The logic below for reference:
Status as pending registration where the users are created with roles:
Hi @Harshitha Sripadha ,
please check the below article:
https://success.outsystems.com/documentation/outsystems_developer_cloud/outsystems_language_and_elements/system_actions/user_system_actions/
This might help.
regards,
Manish Jawla
Hi @Harshitha Sripadha
As I understand . In the ODC, currently it is not possible to complete user creation on the server side with system action. I don't know why the FinishUserRegistration server action is public, but if you're on the client side, you can use the client action with the same name. You can't use the server action.
Please consider use the User and Access Management API.
Also, unlike O11, the password is not stored in the user entity, so it will be difficult to set it programmatically.
Regards
Hi,
Is there another approch for importing bulk users with assigning the roles and able to login to the application with the created users in ODC?
You can try to use User and Access Management API. that I mentioned before.Although I haven't tried it, I don't think this method can set password and active the user automatically.
What I'm curious about is why it's possible to call FinishUserRegistration server action.
Please try change the flow to call FinishUserRegistration client action
Regards,
FinishUserRegistration is a client action only but I have called this action in server action.