-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch from Tasklist URL: embedded String #1432
Comments
Basically: |
@MaxTru Looks like a duplicate of #239 (comment) WDYT? |
I investigated again. So I provided to the Connector (via prop panel) the following: {
state: "CREATED",
taskVariables: [
{
name: "epicURL",
value: "\"https://github.com/camunda/product-hub/issues/1905\"",
operator: "eq"
}
]
} This is what the REST endpoint retrieves: {"state":"CREATED","taskVariables":[{"name":"epicURL","value":"\\\"https://github.com/camunda/product-hub/issues/1905\\\"","operator":"eq"}]} (Formatted) {
"state":"CREATED",
"taskVariables": [
{
"name":"epicURL",
"value":"\\\"https://github.com/camunda/product-hub/issues/1905\\\"",
"operator":"eq"
}
]
} |
I agree Simon. |
Tested on a
My take-away:
@sbuettner with the Zeebe side now (apparently?) fixed (ref), what is the next step? |
Hi @MaxTru, Test 1: Do you know how the value looked in Operate when the connector received it? Maybe @saig0 can provide an answer whether the first case should be covered with the latest FEEL engine fix? Regarding Test 2: Maybe I am missing something but based on the payload you provided I cant see how it should be related to escaping. |
Sure - see screenshot:
I just wanted to test that intendation works - you are right, this has nothing to do with escaping per se. |
Thanks, as it arrived like this in Operate it looks like its not covered by the escaping fix as this is the data that will be handed over to the Connectors runtime and the Connector cant to much about it. |
@sbuettner true. We still have an issue with double quotes: camunda/feel-scala#778 |
Describe the Bug
I am trying to fetch a task from Tasklist REST API using the REST POST Connector.
The post request works using CURL just fine:
=> This works
Using the REST Post Connector, the Tasklist API is returning a 200, but 0 tasks. The problem is the
taskVariables
filter (if I omit it, then I get tasks returned). I tried the following variations:Variant 1: (request body)
Variant 2: (request body)
Steps to Reproduce
Expected Behavior
I can make my CURL POST request work in the REST Connector
Environment
8.3.2 SaaS Prod Cluster
The text was updated successfully, but these errors were encountered: