APDevFundamentals Snippets SP
APDevFundamentals Snippets SP
APDevFundamentals Snippets SP
* MODULE 2 **********************************************************
* Salesforce query
SELECT Name, LastModifiedDate, BillingPostalCode
FROM Account
* MODULE 3 **********************************************************
* Validation expression
#[['SFO','LAX','CLE','PDX','PDF'] contains vars.code]
* MODULE 5 **********************************************************
* Error type expression
WSC:CONNECTIVITY, WSC:INVALID_WSDL
* MODULE 7 *********************************************************
* Derby database
URL: jdbc:derby://localhost:1527/memory:training
Driver class name: org.apache.derby.jdbc.ClientDriver
* MODULE 8 *********************************************************
* DataWeave Transformation
payload map ( payload01 , indexOfPayload01 ) -> {
Name: payload01.name,
BillingStreet: payload01.street,
BillingCity: (payload01.city default ""),
BillingState: payload01.state,
BillingPostalCode: payload01.postal,
BillingCountry: payload01.country
}