{ "department": "${if(user.costcenter!=null){user.costcenter + ' - ' + user.departmentname}else{user.departmentname}}", "sAMAccountName": "${task.accountName}", "displayname": "${displayname}", "manager": "${if(user.manager!=null){managerAccount?.accountID} else {''}}", "initials": "${if(user.middlename!=null){user.middlename.substring(0,Math.min(user.middlename.length(),5))}else{''}}", "userPrincipalName": "${sAMAccountName}@mail.com", "employeeID": "${user.username}", "employeetype": "${user.customproperty8}", "givenName": "${user.firstname.substring(0, 1).toUpperCase() + user.firstname.substring(1)}", "mail": "${sAMAccountName}@mail.com", "objectClass": [ "top", "person", "organizationalPerson", "user" ], "physicaldeliveryofficename": "${user.location}", "extensionAttribute6": "${user.statuskey}", "name": "${user.displayname}", "sAMAccountName": "${task.accountName}", "company": "${(user.entity!=null) ? user.entity +' - '+user.companyname : user.companyname}", "st": "${user.customproperty16}", "streetAddress": "${user.street}", "description": "${(user.employeeType == 'TempEmployee' && user.title!=null) ? user.title + ' (Temp)' : (user.employeeType == 'TempEmployee' && user.title == null) ? '(Temp)' : user.title}", "title": "${user.title}", "l": "${user.city}", "postalCode": "${user.customproperty10}", "telephoneNumber": "${user.phonenumber}", "homeDirectory": "${user.customproperty60}", "mobile": "${user.secondaryPhone}", "adminDescription": "Updated by Saviynt", "adminDisplayName": "${user.username}", "unicodepwd": "user@12563", "pwdLastSet": "0", "businessCategory": "${user.customproperty12}", "division": "${user.region}", "sn": "${user.lastname.substring(0, 1).toUpperCase() + user.lastname.substring(1)}", "accountExpires":"${ if (user.enddate != null && user.enddate != ''){10000*(user?.enddate.getTime() + 11644473600000 + 100799999 + 3636000)} else {9223372036854775807}}" }