You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a flow with a "trigger flow" you can't send {{$last}} in the payload. The linter wants you to add "". When doing so the flow return an invalid JSON error. When you go back and check the raw editor it actually sends {{$last}} with quotes.
To Reproduce
You need to create a flow with a "trigger flow" and make a simple flow that sends data through.
You need to add the {{$last}} to the code payload (you will have to do quotes here because of the linting).
Then run it and you will get this error.
{
"name": "SyntaxError",
"message": "Unexpected token i in JSON at position 4"
}
When you go to the raw editor you will see the quotes there and when you see it in your network tab it will show that the escaped quotes are there as well.
video
interface-not-handeling-value-correctly.mov
Directus Version
v10.8.3
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered:
I can confirm this issue.
The workaround is to edit Raw Value and save without double quotes ".
Although, when opening the Trigger Flow operation, it will contain the double quotes again (but it still does not have it on database).
This is specially annoying when we want to pass an array where we want to execute the other flow for each item of this list.
It also happens on a "create data" step. After reading a json array from a webhook step. If the array has only one json item It returns a JSON error. If the payload json array has more than one object It works correctly.
When creating a flow with a "trigger flow" you can't send {{$last}} in the payload. The linter wants you to add "". When doing so the flow return an invalid JSON error. When you go back and check the raw editor it actually sends {{$last}} with quotes.
To Reproduce
You need to create a flow with a "trigger flow" and make a simple flow that sends data through. You need to add the {{$last}} to the code payload (you will have to do quotes here because of the linting). Then run it and you will get this error.
{
"name": "SyntaxError",
"message": "Unexpected token i in JSON at position 4"
}
When you go to the raw editor you will see the quotes there and when you see it in your network tab it will show that the escaped quotes are there as well.
Describe the Bug
When creating a flow with a "trigger flow" you can't send
{{$last}}
in the payload. The linter wants you to add "". When doing so the flow return an invalid JSON error. When you go back and check the raw editor it actually sends {{$last}} with quotes.To Reproduce
You need to create a flow with a "trigger flow" and make a simple flow that sends data through.
You need to add the
{{$last}}
to the code payload (you will have to do quotes here because of the linting).Then run it and you will get this error.
When you go to the raw editor you will see the quotes there and when you see it in your network tab it will show that the escaped quotes are there as well.
video
interface-not-handeling-value-correctly.mov
Directus Version
v10.8.3
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: