Hi , for this case, you can determine if the execution is in builder mode or production mode by the variable: steps.trigger.context.test .
• steps.trigger.context.test=TRUE means the execution is executed in Builder mode (1st image below)
• steps.trigger.context.test=FALSE means the execution is executed in Deployed mode (2nd image below)
~Note that when you’re on Builder UI, selecting an event received when the workflow in Deployed will still give you steps.trigger.context.test=FALSE~
Note that when you’re on Builder UI, selecting an event received when the workflow in Deployed will still give you steps.trigger.context.test=FALSE
That’s the issue.
Oh actually it the steps.trigger.context.test will give you the data of current execution context. So steps.trigger.context.test will always TRUE in builder mode. My bad .
Next time I’m doing some Pipedream automation dev I’ll play around with this.
Currently deep in some CI/CD stuff. But I need to put together a presentation for our usage of Pipedream for the engineering leads so there’s more than myself and a couple other people using it.
Gotta empower our engineers and all that by making them aware of tools we’re using and how to dive in and all that fun jazz.