createCustomer
Availability
This routine is available starting with Power Scripts™ 4.6.0.
Syntax
createCustomer(fullName, email)
Description
Creates a Service Desk customer. The newly created customer is not added to any JSD project, however he/she can raise request against unrestricted JSD projects.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
fullName | String | Yes | The full name of the customer. |
String | Yes | The email address of the customer. |
Return type
boolean
Returns "true" if the operation succeeded.
Example
return createCustomer("John Doe", "john.doe@email.com");
See also