answerApproval

answerApproval

 

Syntax

answerApproval(requestId_or_Key, approvalId, decision)

Package

 

Alias

 

Pkg Usage

 

Description

Answer to an existing approval.

Parameters

Parameter name

Type

Required

Description

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

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

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.