Usage
Available on the Para client in@getpara/web-sdk, @getpara/react-sdk, @getpara/react-sdk-lite, @getpara/server-sdk and @getpara/react-native-wallet, through @getpara/core-sdk.
Signature
decision before you show approve and reject controls. When canDecide is false, reason says why.
Access and Portal behavior
Signed-in approver in a stage the case has reached. The user who started the request reads it with getInitiatedApprovalCase instead, except a signature collection, which its initiator also reads here. Does not open Portal.Errors
A failed request rejects with an error that carriesstatus, code and message. A few refusals have their own code, such as POLICY_DENIED, INITIATOR_CANNOT_REVIEW and APPROVAL_CASES_AFFECTED. Most arrive as plain text, with code set to ERR_BAD_REQUEST for a 4xx status and the server message in message, so branch on message for those. Rows marked Client throw a plain Error with only a message, before any request is sent, so call the method inside try with await to catch every error. Permissions errors lists every error.