Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | addCustomersToServiceDesk(serviceDeskId, customersAccountIds) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Adds an existing customer or a list of customers to a specified service desk. |
Adds an existing customer or a list of customers to a specified service desk.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
serviceDeskId | Integer | Yes | Add customer/s to that service desk. | customersAccountIds | String [] | Yes | The customer(s) id/s | |
Return Type
Boolean
Returns "true" if the operation succeeded.
Examples
Example 1
Add multiple customers to a a service desk with id of 1.
Code Block |
---|
|
return addCustomersToServiceDesk(1, {"customer1","customer2"}); |
Example 2
Add a single customer to a a service desk with id of 1.
Code Block |
---|
|
return addCustomersToServiceDesk(1, "customer"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jsd_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.