FINS Customer Leads Process API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
kyc-service-mock-responseThis is a mocking code for KYC Service response. The status is returned true or false randomly. The random logic has been configured to hold a default probability value of 85% success rate.
update-opportunity-with-kyc-check-passedUpdate opportunity in the Salesforce FSC wealth with hasKnowledgeCheckPassed flag set to true
update-opportunity-with-kyc-failedUpdate opportunity in the Salesforce FSC wealth with hasKnowledgeCheckPassed flag set to false
update-opportunity-with-doc-idsUpdate opportunity in the Salesforce FSC wealth with document identifiers
wealth-documents-sign-request-payloadCreates a Request Mapping to invoke DocuSign System API. Maps the payload/variables to DocuSign System API enevelopeType as request body. Templates related to the Documents that needs signatures are configurable through config properties along with inputs from incoming payload stored as variables.
update-opportunity-with-docs-signed-statusUpdate opportunity in the Salesforce FSC wealth with hasAllDocumentSignatures flag

kyc-service-mock-response

This is a mocking code for KYC Service response. The status is returned true or false randomly.
The random logic has been configured to hold a default probability value of 85% success rate.

Source: ./src/main/resources/dwl/opportunities/kyc-service-mock-response.dwl

Variables

var probabilityPercentage

variable to hold success probability percentage.

Mapping Tables

Mocking response of KYC Service

KYC responseMocking DataDescription
statustrue or falseResponse of KYC as true or false that is mocked based on configurable success probability.

(back to top)

update-opportunity-with-kyc-check-passed

Update opportunity in the Salesforce FSC wealth with hasKnowledgeCheckPassed flag set to true

Source: ./src/main/resources/dwl/opportunities/update-opportunity-with-kyc-check-passed.dwl

Variables

var s

Update the Opportunity payload with hasKnowledgeCheckPassed flag

Mapping Tables

Update the Opportunity payload with hasKnowledgeCheckPassed flag

Opportunity System APIpayloadDescription
hasKnowledgeCheckPassedtrueUpdate the existing payload with KYC check passed status

(back to top)

update-opportunity-with-kyc-failed

Update opportunity in the Salesforce FSC wealth with hasKnowledgeCheckPassed flag set to false

Source: ./src/main/resources/dwl/opportunities/update-opportunity-with-kyc-failed.dwl

Variables

var s

Update the Opportunity payload with hasKnowledgeCheckPassed flag

Mapping Tables

Update the Opportunity payload with hasKnowledgeCheckPassed flag

Opportunity System APIpayloadDescription
hasKnowledgeCheckPassedfalseUpdate the existing payload with KYC check failed status
stageNameClosed LostUpdate Opportunity Stage as Closed Lost

(back to top)

update-opportunity-with-doc-ids

Update opportunity in the Salesforce FSC wealth with document identifiers

Source: ./src/main/resources/dwl/opportunities/update-opportunity-with-doc-ids.dwl

Variables

var s

Update the Opportunity payload with document identifiers

Mapping Tables

Update the Opportunity payload with document identifiers

Opportunity System APIpayloadDescription
achTransferAuthDocumentIddocumentGuidGUID of ACH Transfer Authorization Document Identifier in DocuSign as returned by DocuSign response
assetTransferAuthDocumentIddocumentGuidGUID of Asset Transfer Authorization Document Identifier in DocuSign as returned by DocuSign response

(back to top)

wealth-documents-sign-request-payload

Creates a Request Mapping to invoke DocuSign System API.
Maps the payload/variables to DocuSign System API enevelopeType as request body.
Templates related to the Documents that needs signatures are configurable through
config properties along with inputs from incoming payload stored as variables.

Source: ./src/main/resources/dwl/documents/wealth-documents-sign-request-payload.dwl

Mapping Tables

Maps the payload or variables to DocuSign System API enevelopeType as request body.

DocuSign System API envelopeTypepayloadDescription
emailSubjectsubject textSubject line for DocuSign email
emailBlurbemail textEmail Text for DocuSign email
compositeTemplates.templateIdsconfig valuesDocuSign Template Ids are documents that need signatures
compositeTemplates.customFieldsvars.opportunityIdCustom Fields that are to be returned by DocuSign after handling the document
compositeTemplates.recipientsvars.emailAddressName and email address who needs to receive documents for signatures
envelopeStatus"SENT"Status of the envelop to be marked as Sent

(back to top)

update-opportunity-with-docs-signed-status

Update opportunity in the Salesforce FSC wealth with hasAllDocumentSignatures flag

Source: ./src/main/resources/dwl/documents/update-opportunity-with-docs-signed-status.dwl

Variables

var s

Update the Opportunity payload with document signature status

Mapping Tables

Update the Opportunity payload with document signature status

Opportunity System APIpayloadDescription
hasAllDocumentSignaturestrueUpdate the existing payload with Document Signatures check as true
stageName"Closed Won"Update the stage of the opportunity to Closed Won

(back to top)


Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onNov 10, 2023
Asset overview

Asset versions for 1.5.x

Asset versions
VersionActions
1.5.10
1.5.9
1.5.8
1.5.7
1.5.6