Using SalesForce's Web Service to create and set the type of a Task
- by Alan Williamson
I am successfully creating a Task using the SalesForce API SOAP API through Java.
However, my problem is that I can't seem to set the Type of it. They all default to "Call" but I really want them to be "Email".
Can someone point me in the direction of where I can do this? I think it is to do with RecordTypeMapping, but i am somewhat confused as to how to use this in my Java code to look up the particular one for Task type.
I feel I have got so close with this. I have the correct WSDL that is giving me the extra method on the Task.java class, but no matter what I pass in, it dies.
This doesn't seem to be a huge ask, yet i am perplexed as to which dots to join to get it to work
Any help would be appreciated. thanks