In testing my source is producing results but I’m getting “Cannot read property ‘trigger’ of undefined” in this step’s execution. As far as I can tell the steps property is not included in the passed-in arguments.
Does anyone have suggestions on how to further debug?
So I interpreted that as being able to access the data through that object. If some mapping needs to occur can you point me to an example or documentation that describes how it works?
Thanks - I have been referencing those docs as I built a source and this component. It seems like I missed something about data being passed between steps.
Can you help me understand then how to map the result (emitted event) from a source onto a property for the action? Or perhaps Pipedream exposes a UI to do that mapping once the property is defined?
FWIW the invitation in the UI of the source to reference steps.trigger.event was confusing.
And if you can call out the distinction between components versus code blocks wherever the async run( { steps, $ } ) { ... } examples exist would also have moved me in the right direction.
I agree! the steps vs this and props is one of this most confusing differences. I’ve covered it within the publishing actions docs and videos, but we haven’t updated sources in particular in some time. It’s on the list!