Guides HTTP Workflows Tutorial doesn't work - here is how to fix it. #7351
JarekLisowski
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create the HTTP workflow from the tutorial and found errors:
{{ Variables.QueryData.status ?? "all" }} | Liquid.
This is wrong. Should be:
{{ Variables.QueryData.status | default: "all" }}
?? is JS syntax.
First of all Task in JS is task (lowercase) so it should be:
variables.Tasks
But it still desn't work becasue it tries to serialize the .net types which are unknown so it throws the exception:
System.ArgumentException, System.Private.CoreLib: Object of type '<>f__AnonymousType0#4
4[System.Int32,System.String,System.String,System.String][]' cannot be converted to type 'System.Collections.Generic.IEnumerable1[System.Int32]'.The solution is to set content to
variables.Tasks
and syntax to Variable. Then it works.
Beta Was this translation helpful? Give feedback.
All reactions