Hi, yes! Of course I’ll try to help you, always feel free to ask 
No logs available in the Workflow execution details does not automatically mean that the JavaScript action failed or that nothing was returned.
In this case, it usually only means that the action did not write anything to the log output, for example with:
console.log(something)
console.error(error_something)
The important thing to check is the Result of the JavaScript task, not only the Logs tab. Dynatrace’s Run JavaScript action can return a custom object or array, and that returned value is available to subsequent workflow tasks. The result can be inspected in the execution details and used by later tasks.
Looking at your JavaScript, the main point is that you are currently returning this structure:
return { bizEvents, debug: apis };
So your JavaScript result is not the BizEvent array itself. It is an object that contains the array under the bizEvents property.
That means, in the Ingest BizEvents step, you should either reference only that nested array, something like this:
{{ result("run_javascript_task_name").bizEvents | to_json }}
Personally, I would simplify the JavaScript and return the array directly:
function transform(input) {
let body = input.http_request_1?.body;
let apis;
try {
apis = typeof body === "string" ? JSON.parse(body) : body;
} catch (e) {
console.error("JSON parse error:", e);
return [];
}
const proxies = apis?.proxies || [];
const bizEvents = proxies.map(p => ({
"event.type": "apigee.proxy.metadata",
"event.provider": "apigee",
"event.category": "api-management",
"source.system": "apigee",
"apigee.organization": "jlr-ddc1-prod",
"proxy.name": p.name,
"proxy.revision": String(p.revision ?? ""),
"debug.ingestion_test_id": "apigee-test-001"
}));
console.log("Generated BizEvent count:", bizEvents.length);
console.log("First BizEvent:", JSON.stringify(bizEvents[0] ?? {}, null, 2));
return bizEvents;
}
Also, I would recommend using Dynatrace way to event fields such as:
"event.type": "apigee.proxy.metadata",
"event.provider": "apigee"
Let me know if worked and the next step, please 😉
Also, if it helped you, could you gently give Kudos? I’m aiming to be Member of the Month someday 🤗