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 | getSubscriptionStatus(requestId_or_Key, userAccountId) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the notification subscription status for the provided user |
Returns the notification subscription status for the provided user.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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 |
---|
|
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) |
---|
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.