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

answerApproval(requestId_or_Key, approvalId, decision)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Answer to an existing approval.

Answer to an existing approval.

Parameters

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

Parameter name

Type

Required

Description

requestId_or_Key

String

Yes

The request key or id.

approvalId

String

Yes

The id of the approval to be answered.

decision

boolean

Yes

The decision can be 'true' if we want to approve of 'false' if we decline the approval.

Return Type

JSMApproval

Example

Example 1

Code Block
languagejs
JSMApproval approval = answerApproval("SM-92", 23, true);  
return approval;

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_function" and space = currentSpace ( )
labelsarray_functions