cancel
Showing results for 
Search instead for 
Did you mean: 

UrlLauncher is not launching the url

Former Member
0 Kudos

Hi ,

I am trying a create a connector to third party in uwl and i am using UrlLauncher to launch the task, but it is not launching in external url, it is launching in some window but not the one i am setting in the executionUrl.

uwlItem.setExecutionUrl("http://<host>:19086/teamworks/process.lsw?zWorkflowState=1&zTaskId=2838");

<Action name="showDetails" handler="UrlLauncher" launchInNewWindow="yes">

<Properties>

<Property name="url" value="${item.executionUrl}"/>

</Properties>

<Descriptions default="Show Details"/>

</Action>

in ItemActionHandler class

public String getUrl(UWLContext arg0, Item arg1, Action arg2, Map arg3)

throws UWLException {

/**

  • @TODO 6: Decide if getUrl needs to be implemented. Check UWL API javadoc

*/

return arg1.getExecutionUrl();

}

public boolean isLauncher() {

//return false;

return true;

}

Can somebody tell me y? and what should i do to launch it in external window.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I have the same problem

has someone any idea?

thanks

Former Member
0 Kudos

Hi ,

Its working fine now for me.

You need to make return false. and then after deployment make sure you clear the cache (and log off and log on if necessary).

Former Member
0 Kudos

Hi,

thank you for answering my question.

i have furthere more problem with displaying details.

is the following coding ok?

public String getUrl(UWLContext arg0, Item arg1, Action arg2, Map arg3)

throws UWLException {

/**

  • @TODO 6: Decide if getUrl needs to be implemented. Check UWL API javadoc

*/

return arg1.getExecutionUrl();

}

or should i return null?

thanks

Former Member
0 Kudos

Hi Rouzbeh,

i have following code.

public String getUrl(UWLContext arg0, Item arg1, Action arg2, Map arg3)

throws UWLException {

/**

  • @TODO 6: Decide if getUrl needs to be implemented. Check UWL API javadoc

*/

return arg1.getExecutionUrl();

//return null;

}

and it is working fine.