Skip to content

LoggingRecipes

pozil edited this page Nov 14, 2024 · 3 revisions

LoggingRecipes Class

Demonstrates how to use the logger in DataWeave scripts in Apex.

Group DataWeaveInApex Recipes

Methods

logWithDataWeaveScript(jsonInput)

Filters 'winner' items from a list and log the filtered items Uses the dw/logFilter.dwl DataWeave script.

Signature

public static String logWithDataWeaveScript(String jsonInput)

Parameters

Name Type Description
jsonInput String JSON string

Return Type

String

JSON string

Clone this wiki locally