How do I change the notification to prompt Vendor Registration through the Vendor Portal?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 01:50 AM
Dear experts,
I am facing an issue where if I register a new third-party contact, it will generate a registration email to them. But I dont understand why the email generated is the ones using SSO to login. It does not make sense to have vendor's using SSO to login? How do I make it to prompt the Vendor Contact Invited without SSO to be sent instead of sending the one with SSO login feature, because i need the system to generate a password then only can be send to the vendor for registration purpose.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 02:07 AM
Hi,
Update the business rule "Generate password and send notification"
(function executeRule(current, previous /*null when async*/ ) {
var newPassword = GlideSecureRandomUtil.getSecureRandomString(8);
current.user_password.setDisplayValue(newPassword);
current.password_needs_reset = true;
current.registration_status = 'sent';
gs.eventQueue("vendor_core.register_contact", current, current.email, newPassword);
})(current, previous);