NEW RELEASE! The 2022x Refresh2 Hot Fix 3 was released on February 28, 2025. For more information, see 2022x Refresh2 Hot Fix 3 Version News.

You can use the following APIs to call an operation
 

	public static Object callOperation(String name) {
	...
	} 
	
	public static Object callOperation(String name, List<?> arguments) {
	...
	} 
	
	public static Object callOperation(Object_ object, String name) {
	...
	} 
	
	public static Object callOperation(Object_ object, String name, List<?> arguments) {
	...
	} 
	
	public static Object callOperation(Object_ object, String name, List<?> arguments, boolean isSynchronous) {
	...
	} 

 

The following example shows how to call a specified operation in ALH API by passing the operation's name

value = ALH.callOperation("test"); 

 

You can also give initial parameter values in which the arguments lists must be created by executing the following code

arguments = ALH.createList();
arguments.add("value1");
arguments.add("value2");
value = ALH.callOperation("test", arguments);

If a found Behavior value is null or an argument's size is not equal to the in or inout parameter's size of the found Behavior, an IllegalArgumentException will be thrown.

 


Activity

All
Personal filters
All
No activities found