Icon

02_​call_​server_​workflow_​(REST)

Call a remote workflow as RESTful web service

Demonstration of how to pass parameters and execute a workflow on the KNIME Server/Business Hub via a workflow-provided REST-endpoint. The workflow is called via a POST-request with the required parameters as a JSON-object in the request-body. See the REST API for more details.

In order to successfully run the workflow, the Business Hub/Server settingsneed to be adopted and the workflow to call uploaded. Call a remote workflow as RESTful web serviceDemonstration of how to pass parameters and execute a workflow on the KNIME Server/Business Hub via aworkflow-provided REST-endpoint. The workflow is called via a POST-request with the required parametersas a JSON-object in the request-body. See the REST API for more details.The called workflow checks if the passed number is a prime number.Please note: The "Call Workflow"-nodes provide a more preferable and convenient way to call workflows asREST services. This solution here is just for demonstration purposes how other clients than the AnalyticsPlatform could call a workflow! execute workflowvia a http-requestRequires application ID (username)and passwordextract resultadd "/execution" POST Request JSON Path Service DeploymentCreator Space Connector String Manipulation(Variable) In order to successfully run the workflow, the Business Hub/Server settingsneed to be adopted and the workflow to call uploaded. Call a remote workflow as RESTful web serviceDemonstration of how to pass parameters and execute a workflow on the KNIME Server/Business Hub via aworkflow-provided REST-endpoint. The workflow is called via a POST-request with the required parametersas a JSON-object in the request-body. See the REST API for more details.The called workflow checks if the passed number is a prime number.Please note: The "Call Workflow"-nodes provide a more preferable and convenient way to call workflows asREST services. This solution here is just for demonstration purposes how other clients than the AnalyticsPlatform could call a workflow! execute workflowvia a http-requestRequires application ID (username)and passwordextract resultadd "/execution" POST Request JSON Path Service DeploymentCreator Space Connector String Manipulation(Variable)

Nodes

Extensions

Links