---
# System prepended metadata

title: 'Fixes: Onboarding Portal'

---

# Fixes: Onboarding Portal

## Assign Roles Widget

+ Server Script (line 54): change MID server

+ Server Script (line 117):
```javascript=
var message = "Passwort: " + randomPassword + "\n\n" + "You are part of the following groups: " + setGroupMemberships(userSysId);
			
gs.eventQueue('u_consumers.newCloudXAdminInvitation', existingDelegate, message, input.delegate.email);
```

## Notifications: cloudXAdminInvitation

(under System Notification – Notifications)

+ Who will receive:
  + check Event parm 2 contains recipient
+ What it will contain:
  + open cloudXAdminInvitationEmailTemplate

```htmlmixed=
You have been invited to ServiceNow. Please login using the following credentials.

User name: ${u_email}

${event.parm1}
```