While using Deactivate user in salesforce package Under properties UserId field is working but if i enter username in the field. User is not deactivating.
Hello @saran_prasath Welcome to the UiPath Community
After searching through some internet posts on StackOverflow and some tests on UiPath Salesforce connector package, I think the operation works in background as follows:
Deactivate User(Update Record):Data Input → Salesforce Connector(Select call)–>Get Records–>Commit the Update–>Return the Response (Output)
But in backend, User Operation (edit, update, delete) use primary key reference (UserID). And hence in your case when you pass → Username, there is possibility of “Get Records” returning multiple results and therefore the update is not committed. But when you pass -->UserID which is unique, the update commits to the DB.
Also,when I tried checking for user table, it is primarily returning UserID row by default to search for the user.(please refer screenshot 1)
Also, go through the attached link (highlighted section) which may help you in better guidance.
Deactivate User
Please note, above mentioned things are assumptions and may vary.
Thanks.

