Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getCustomerRequestStatus(requestId_or_Key)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns a list of JSMCustomerRequestStatus structures.

Returns a list of JSMCustomerRequestStatus structures, containing all the statuses in which the request was

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

requestId_or_Key

String

Yes

The key or id of the selected request.

Return Type

JSMCustomerRequestStatus[]

Example

Code Block
languagejs
JSMCustomerRequestStatus[] customerRequestCurrentStatuses = getCustomerRequestStatus("SM-1");
int indexCC = 1;
for(JSMCustomerRequestStatus customerRequestStatus in customerRequestCurrentStatuses) {
    runnerLog("---customerRequestStatus " + indexCC + "---");    
    runnerLog("status = " + customerRequestStatus.status);
    runnerLog("statusCategory = " + customerRequestStatus.statusCategory);
    runnerLog("statusDate = " + customerRequestStatus.statusDate);    
    indexCC = indexCC + 1;
}

Returns a list of JSMCustomerRequestStatus structures for the request "SM-1"

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsarray_routines