Skip to content
Discussion options

You must be logged in to vote

It is a no-op in that most steps will just work since the directive doesn't do anything in regular javascript


but, yeah, functions like getStepMetadata will currently throw if you use it in a step when you're not running inside a step.

We are considering making it work and basically including a field that lets you know whether or not you're inside a step

It's an ongoing design decision, because most of the rest of your step can just work. Even setting maxRetries on the step will simply become no-ops when using the step outside of workflows

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pranaygp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #24 on October 24, 2025 18:41.