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

fullNameStringYesThe full name of the customer.

email

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