Does Conductor-OSS support http_poll task? #345
              
                Unanswered
              
          
                  
                    
                      zhiyaoPCCW
                    
                  
                
                  asked this question in
                Q&A
              
            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 added http_poll task in my local conductor-oss instance. schema as follow:
{ "createTime": 1734512705941, "updateTime": 0, "accessPolicy": {}, "name": "NewWorkflow_geuvf", "description": "workflow", "version": 1, "tasks": [ { "name": "http_poll", "taskReferenceName": "http_poll_yrz_ref", "inputParameters": { "http_request": { "uri": "https://orkes-api-tester.orkesconductor.com/api", "method": "GET", "accept": "application/json", "contentType": "application/json", "terminationCondition": "(function(){ return $.output.response.body.randomInt > 10;})();", "pollingInterval": "60", "pollingStrategy": "FIXED", "encode": true } }, "type": "HTTP_POLL", "startDelay": 0, "optional": false, "asyncComplete": false, "permissive": false } ], "inputParameters": [], "outputParameters": {}, "failureWorkflow": "", "schemaVersion": 2, "restartable": true, "workflowStatusListenerEnabled": false, "ownerEmail": "", "timeoutPolicy": "", "timeoutSeconds": 0, "variables": {}, "inputTemplate": {} }But it is terminated with an error 'Invalid task specified. Cannot find task by name http_poll in the task definitions'. Not sure if http_poll is supported yet.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions