Newer Version Available
call(action, args)
This method invokes one of the available DigitalLendingIntakeRecordsWrapper actions and passes arguments to the
action.
Signature
public Object call(String action, Map<String, Object> args)
Parameters
- action
- Type: String
- Action to call. Valid values are:
- saveSelectedProposal— Accepts an application form product ID and an application form product proposal ID. Updates a proposal's SelectedBy field with the applicant value and returns whether the update was successful.
- setDocumentTypeValues—Accepts a list of document type labels and returns a list of active document type IDs along with the label.
- setActiveDataUsePurposeValues—Accepts a list of data use purpose IDs and returns list of active data use purposes from the input list.
- deleteFileFromRecycleBin— Accepts a content document ID, deletes the content document from recycle bin, and returns a success boolean value.
- getCommonDataUsePurposesPerSource— Accepts data use purposes eligible for each applicant and returns the data use purposes per source or application form product.
- validateUploadedDocuments— Accepts document block which is a list of uploaded documents. Returns Yes if multiple documents of same document type are uploaded. Returns No if maximum one document is uploaded for each document type required by the application.
- args
- Type: Map<String, Object>
- First three keys must be input, output, and options. The required keys under
input depend on the method the action invokes. All actions require input,
output, and options arguments, but these can be empty if the action doesn’t
use them.
-
saveSelectedProposal
- applicationFormProductId — The applicationFormProductId argument of the action being called.
- proposalId — The proposalId argument of the action being called.
- isSelected — The isSelected argument of the action being called.
-
setDocumentTypeValues
- docTypeLabel — List of document type labels separated by a comma.
-
setActiveDataUsePurposeValues
- dataUsePurposeId — List of data use purpose IDs separated by a comma.
-
validateUploadedDocuments
- DocumentBlock — List of uploaded documents.
-
deleteFileFromRecycleBin
- relatedContentDocumentId — The relatedContentDocumentId argument of the action being called.
-
getCommonDataUsePurposesPerSource
- ProcessApplicantRecords — The ProcessApplicantRecords argument of the action being called.
-
saveSelectedProposal
Return Value
Type: Map<String, Object>
Returns values of the corresponding action as described in the Parameters section above.
Usage
To use this method in an Integration Procedure, specify the class in the Remote Class property, the action in the Remote Method property, and the arguments in the Additional Input property.