cancel
Showing results for 
Search instead for 
Did you mean: 

A way to pass a context node as parameter

bernd_speckmann
Contributor
0 Kudos

Hi,

I am searching for way to pass a context node as parameter. Within the first method I want to call the other one and pass a specific context node as parameter. The node should be used by the second method to read an attributevalue.

Is there any way to do this?

Any help would be appreciated.

Thanks ahead, Bernd

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member197348
Active Contributor
0 Kudos

Hi Bernd,

I assume that you know how create methods with parameters.

While adding parameters to the method in the wizard, enter the name of the parameter and click on "Browse" button ->

Select Java Native Type -> Click on Browse ->

Enter IWDNode and select it from below list and click "OK" -> "OK" -> Finish.

Feel free to revert in case of any issues.

Regards,

Siva

bernd_speckmann
Contributor
0 Kudos

Thanks.

I always passed IWDNodeInfo as parameter instead of IWDNode. After using IWDNode and pass the according context node it works fine.

Thanks.

Bernd

Former Member
0 Kudos

all nodes have corresponding java classes which are usually like this:

IPublic<Controller Name>.I<Node Name>node