If I run this workflow.json without state:
{
"workflow": {
"steps": [
{
"adaptors": ["@openfn/language-common@2.1.1"],
"expression": "./event-temp.js"
}
]
}
}
I get a reasonable error message:
if I run the same as a workflow.yaml:
id: wf2-omrs-dhis2
steps:
- id: event-temp
name: Event Mappings
adaptor: '@openfn/language-common@2.1.1'
expression: ./event-temp.js
No positions are reported
Note that the workflow.json and workflow.yaml are not the same. This might be an error in the CLI.