Valid MCD-Level-1 Dumps shared by ExamDiscuss.com for Helping Passing MCD-Level-1 Exam! ExamDiscuss.com now offer the newest MCD-Level-1 exam dumps, the ExamDiscuss.com MCD-Level-1 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com MCD-Level-1 dumps with Test Engine here:
A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl folder. What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "[email protected]"?
Correct Answer: D
* To use custom modules, you need to import the module or functions you want to use by adding the import directive to the head of your DataWeave script, for example: 1) Does not identify any functions to import from the String module: import dw::core::Strings 2) To identify a specific function to import from the String module: import camelize, capitalize from dw::core::Strings 3) To import all functions from the String module: import * from dw::core::Strings The way you import a module impacts the way you need to call its functions from a DataWeave script. If the directive does not list specific functions to import or use * from to import all functions from a function module, you need to specify the module when you call the function from your script. * In given scenario, it's mentioned to import all of the WebStore.dwl So correct answer is: