Why the HTTP TASK is not work well ??? #3468
Replies: 2 comments 2 replies
-
i see the same issue in 3.13.5 version workflow is running but task is scheduled. { |
Beta Was this translation helpful? Give feedback.
-
Do you have system tasks workers enabled? |
Beta Was this translation helpful? Give feedback.
-
I created a workflow that contains a INLINE_TASK and HTTP_TASK, the status HTTP_TASK is always SCHEDULED , just as shown in the picture below:
the definition of workflow is:
{ "ownerApp": "jmr", "createTime": 0, "updateTime": 1674962415151, "createdBy": "xiaowei12", "updatedBy": "xiaowei12", "accessPolicy": {}, "name": "simple_demo_wf_for_xiaowei12", "description": "just a simple demo", "version": 0, "tasks": [ { "name": "inline_task_example", "taskReferenceName": "inline_task_example", "inputParameters": { "value": "${workflow.input.age}", "evaluatorType": "javascript", "expression": "function e() { if ($.value == 1){return {\"result\": true}} else { return {\"result\": false}}} e();" }, "type": "INLINE", "startDelay": 0, "optional": false, "asyncComplete": false }, { "name": "Get Example", "taskReferenceName": "get_example", "inputParameters": { "http_request": { "uri": "https://www.baidu.com/", "method": "GET" } }, "type": "HTTP", "startDelay": 0, "optional": false, "asyncComplete": false } ], "inputParameters": [ "name", "age" ], "outputParameters": {}, "schemaVersion": 2, "restartable": true, "workflowStatusListenerEnabled": true, "ownerEmail": "[email protected]", "timeoutPolicy": "TIME_OUT_WF", "timeoutSeconds": 0, "variables": {}, "inputTemplate": {} }
the inputParameters of workflow is:
{ "name": "xiaowei79", "age": 22 }
the JSON of HTTP TASK is :
{ "taskType": "HTTP", "status": "SCHEDULED", "inputData": { "asyncComplete": false, "http_request": { "method": "GET", "uri": "https://www.baidu.com/" } }, "referenceTaskName": "get_example", "retryCount": 0, "seq": 2, "pollCount": 0, "taskDefName": "Get Example", "scheduledTime": 1674962889269, "startTime": 0, "endTime": 0, "updateTime": 0, "startDelayInSeconds": 0, "retried": false, "executed": false, "callbackFromWorker": true, "responseTimeoutSeconds": 0, "workflowInstanceId": "036883e9-3c6a-4cfe-b48e-69ca9e7b5e4d", "workflowType": "simple_demo_wf_for_xiaowei12", "taskId": "266bdcc3-8ffd-4a8c-91bd-ff57dfcc6ed1", "callbackAfterSeconds": 0, "outputData": {}, "workflowTask": { "name": "Get Example", "taskReferenceName": "get_example", "inputParameters": { "http_request": { "uri": "https://www.baidu.com/", "method": "GET" }, "asyncComplete": false }, "type": "HTTP", "startDelay": 0, "optional": false, "asyncComplete": false }, "rateLimitPerFrequency": 0, "rateLimitFrequencyInSeconds": 0, "workflowPriority": 0, "iteration": 0, "subworkflowChanged": false, "taskDefinition": null, "queueWaitTime": 0, "loopOverTask": false }
the version of conductor-server is : v3.13.2.
can you help me find the problem?
Beta Was this translation helpful? Give feedback.
All reactions