Author Message
AlexeyMartazov
Joined: Feb 4, 2014
Messages: 17
Offline
Hi, Experts!

I am new to writing custom classes.
I am trying to write a custom application class for custom action POM 2.5.
I need to call the number after checking certain conditions. How to call a contact phone number from the Java environment. What functions, commands use? Little example?

public class TestActionImplementation implements PomActionProcessor {
@Override
public boolean processContact(PomInfo pomInfo) {
System.out.println("Inside custom action");
System.out.println("User Contact ID - " + pomInfo.getContactId());
System.out.println("User Contact Group Name - " + pomInfo.getContactGroupName());
System.out.println("Address - " + pomInfo.getAddress());
return true;
}
}

In this example simply output of data. I need to call.
Go to:   
Mobile view