How to get the URL of WF from as flowvariable into the KNIME - JavaScript

Hi,

Earlier I used to have a java script with below command to get the URL from the webportal to KNIME

Tried " window.location.href" as well, but the value is null.
After upgrading the server to 4.11.4, I am getting null value for the above FV.

Any suggestion to fix this issue or get the webportal URL inside KNIME?

Hi,

The variable from Generic JavaScript View is updated with the expression value in the code when you click on apply and close button. If you simply execute it the flow variable will be there but only with the default value.

Have you tried the Extract Context Properties node? There you have the job ID and the workflow path. I am not so sure but, I think you can build the URL from that.

Best,
Temesgen

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.