Skip to main content

Good day,

I’m trying to open a URL with a task (Windows GUI) but I can’t get it to work.

Per the docs, I created a ‘Windows command’ task and gave the Object name the value ‘http:’. I created a task parameter ‘url’.

To open a dynamic URL without knowing the default browser, you can trick the task by using 'http:' as Object name and set the first parameter to the URL to be opened. The same goes for other URI schemes like 'mailto:'.

 

The default browser opens up, but it doesn’t go to the URL. I even tried ‘http:Iurl]’ but I can’t get it to work. However, if I ‘hard code’ a link in the Object name, it does open up.

What am I missing?

I found the solution.

You should not have 'http:' in the Object name field but only the brackets with the parameter name eg. >url]. The parameter should have the full URL including http (or https) as value.

So basically you have to have an expression field on the subject for the full URL.