Why are the Exports and Logs tabs greyed out in my workflows and not displaying expected outputs?

This topic was automatically generated from Slack. You can find the original thread here.

Hey folks, I’m running into a weird issue with my workflows and hoping someone can point me in the right direction.
In my workflow (Weekly Events Updated V2) — and even in a super simple test workflow with just one Code step — the Exports and Logs tabs in the Runs view are always greyed out. I also don’t see the return value tree. The only thing I get is the Details tab (timestamp/duration/name).
What I expected:
console.log() should show up under Logs
$.export() should show up under Exports
return { … } should show up as a return value tree
What’s actually happening: none of those appear.
Stuff I’ve already tried:
• Cleared cache and cookies
• Tested in both Safari and Chrome with no extensions
• Tried with different workflows (my main one and a brand new test)
• Same issue every time
Here’s the minimal test code I used (still no Logs/Exports showing):


export default async (event, steps, { $ }) => {
  console.log("LOG_MARKER", { a: 1 });
  $.export("ping", "pong");
  return { answer: 42, now: Date.now() };
}

Has anyone seen this before? Is there something I might be missing, or is this something support needs to check on their side?

I believe that function structure is from v1 (very old)

can you transform the code above into a nodejs code step?

Certainly! Here’s how you would write your test code as a modern Pipedream Node.js code step (using the current component format): export default defineComponent({ async run({ steps, $ }) { console.log("LOG_MARKER", { a: 1 }); $.export("ping", "pong"); return { answer: 42, now: Date.now() }; }, }); How this works: - console.log() output will appear in the Logs tab. - $.export("ping", "pong") will export the value under the Exports tab. - The returned object will show up as the step’s return value. Just copy and paste this code into a new Node.js code step in your Pipedream workflow.

see the above code

Superb. Seeing Export values now. Thank you so much. Sorry, I havent touched programming in 2 decades. Back to do a little with ChatGPT’s guidance. gonna try with the real program now.