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

getSubscriptionStatus(requestId_or_Key, userAccountId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns the notification subscription status for the provided user

Returns the notification subscription status for the provided user.

Parameters

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

Parameter name

Type

Required

Description

requestId_or_Key

String

Yes

The ID or Key of the customer request from which the subscription status will be retrieved

approvalId

Integer

Yes

The account ID of the user to be checked

Return Type

Boolean

Example

Code Block
languagejs
return getSubscriptionStatus("SM-1", currentUserKey());

Returns true if the user is subscribed to that request or false otherwise.

See also

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

We've encountered an issue exporting this macro. Please try exporting this page again later.