Loading

HTTP Requester path field fails when using multi-line DataWeave

Дата публикации: May 19, 2026
Описание

The user encountered an issue where the Mule 4 application failed to build and deploy when the 'path' attribute of the HTTP Requester connector was set to a multi-line DataWeave expression
%dw 2.0
output application.

The application succeeded when the 'path' attribute was converted to a single-line DataWeave expression.
%dw 2.0 output application/java

Решение

1. Convert the multi-line DataWeave expression in the 'path' attribute to a single inline expression enclosed within #[ ... ].
2. If the logic is complex, use a transformer to precompute the value in a multi-line DataWeave script, and reference the variable in the 'path' attribute.
3. For long-term improvement, consider upvoting the enhancement request in the Ideas Portal to address this limitation.
(https://ideas.salesforce.com/s/idea/a0BHp000019OrtCMAS/http-requester-path-fails-for-dataweave-expression-in-multiline-editor)

Дополнительные ресурсы

Номер статьи базы знаний

005384634

 
Загрузка
Salesforce Help | Article