• Naresh.T
  • NEWBIE
  • 0 Points
  • Member since 2007

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 5
    Replies
    Hi,

I want to assign the task to queue instead of a user.

Is this possible?

I can create a task and assign to multiple users but it simply copying the tasks and assigning to multiple users.

Please let me know how to create a task and assign it to queue or notify multiple users.

Any help would be very much appreciated.

Thanks,
Naresh.T

    Hi,

Is it possible to call Apex code When a work flow is triggered?

Any help would be very much appreciated.

Thanks in advance.

Naresh.T


    Hi,

I need a trigger when a note is inserted/added for a custom object.

Is it possible to write trigger on Note object.

If Yes then please give me an example to do that.

Any help would be very much appreciated.

Thanks in advance.
Naresh.T
Hi All,

I am using ANT 1.7 build tool and Salesforce ant tool for deployment purpose. when tried to deploy the sample provided by the tool using the following ant command

ant deploy

I am getting the following errors.
Code:
Buildfile: build.xml

deploy:
[sf:compileAndTest] Using proxy: Host:portno
[sf:compileAndTest] compileAndTest on https://test.salesforce.com/services/Soap/
u/11.1, compiling 1 classes and 1 triggers, deleting 0 classes and 0 triggers
[sf:compileAndTest] note: use ant -verbose to get more information on the failur
e

BUILD FAILED
D:\salesforce_ant\sample\build.xml:11: Failed to login:INSUFFICIENT_ACCESS: insu
fficient access rights on cross-reference id

Total time: 25 seconds

 
Any help would be very much appreciated.

Thanks in advance.

Regards,
Naresh.T




Message Edited by Naresh.T on 01-10-2008 09:23 PM
Hi,

I am trying to create revenueschedule using perl.
But I am getting the following errors.

Use of uninitialized value in hash element at WWW/Salesforce/Simple.pm line 65.
Use of uninitialized value in concatenation (.) or string at WWW/Salesforce/Simple.pm line 73.
Element 'sfons:HASH(0x93b2394)' can't be allowed in valid XML message. Died

Code:
my $result_oppshed = $sforce->do_query("select  Quantity,ScheduleDate,Revenue from  OpportunityLineItemSchedule where OpportunityLineItemId='OpportunityLineItemId' " );
   foreach  $row_oppshed(@$result_oppshed) 
    {

     print "\n  $row_oppshed->{ScheduleDate} $row_oppshed->{Revenue} \n" ;
     tie my %opplshed, 'Tie::Hash::Indexed';
     %opplshed = {
         type => 'OpportunityLineItemSchedule',
         OpportunityLineItemId => 'OpportunityLineItemId',
         Quantity => $row_oppshed->{Quantity},
         ScheduleDate => $row_oppshed->{ScheduleDate},
         Type => 'Revenue',
         Revenue => $row_oppshed->{Revenue}
        };
       
       my $result_oppshed1 = $sforce->create(%opplshed);
       
       if ($result_oppshed1->result->{"success"} eq "false") {
       print $result_oppshed1->result->{errors}->{message} . "\n";

    }
   }

 Please let me know if I miss anything in the code.

Any help would be very much appreciated.

Thanks,
Naresh.T


Hi,

I am wondering if I can specify the from address of an email using the sendEmail() Api.

I looked at the function but from Address is not there.

Is this feature available in that API?

Thanks in Advance.

Naresh.T
Hi,
 
I need send case escalation's to case owner' managers.
 
And every case owner will have different managers.
 
Can anyone help me how this can be done.
 
Thanks in advance.
 
Naresh.T
    Hi,

I am using email templates for workflow rules.These workflows will send emails to the conatcts.
Workflows will run on the Opportunity object.But in the email templates I am getting the information of opportunity through merge fields.I also want the information of products in emails.

Please let me know how this can be done.

Any help would be very much appreciated.

Thanks in advance.

Naresh.T
I am trying to override the delete functionality which will allow the non admin users to delete the record.
Currently non admin users are able to delete records which are created by them only.
 
I am trying to do this by providing a custom button and a scontrol using the delete Api.
 
Is there any other of doing this apart from changing user permissions.
 
Any help would be appreciated.
 
 

Message Edited by Naresh.T on 10-08-2007 02:03 AM

Hi,

can one please tell me how to update fields of view detail page using scontrols.I am overiding the standard buttons.

please also provide some sample codes to update the fields using scontrols

Any help would be much appreciated.

Thanks and Regards,
Naresh.T

Hi,

I am trying to login to salesforce using api's.I am new to the salesforce.I am trying the sample code given in apex api doc.I am getting java.net.ConnectException.

I am using JDK 5.0 ,axis 1.4,apex api's 9.0 and tomcat 5.5.20

The stack trace is given below. Please help me to fix this.

 

An unexpected error has occurred: ; nested exception is: 
 java.net.ConnectException: Connection timed out: connect
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.ConnectException: Connection timed out: connect
 faultActor: 
 faultNode: 
 faultDetail: 
 {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
 at java.net.Socket.connect(Socket.java:507)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:546)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:349)
 at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:69)
 at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
 at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:2595)
 at org.honeywell.Samples.login(Samples.java:81)
 at org.honeywell.Samples.run(Samples.java:325)
 at org.honeywell.Samples.main(Samples.java:36)

 {http://xml.apache.org/axis/}hostname:IE10DTJ8FNM1S

java.net.ConnectException: Connection timed out: connect
 at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:2595)
 at org.honeywell.Samples.login(Samples.java:81)
 at org.honeywell.Samples.run(Samples.java:325)
 at org.honeywell.Samples.main(Samples.java:36)
Caused by: java.net.ConnectException: Connection timed out: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
 at java.net.Socket.connect(Socket.java:507)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:546)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:349)
 at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:69)
 at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
 at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
 ... 13 more


 Thanks,

Naresh.T

    Hi,

Is it possible to call Apex code When a work flow is triggered?

Any help would be very much appreciated.

Thanks in advance.

Naresh.T


    Hi,

I need a trigger when a note is inserted/added for a custom object.

Is it possible to write trigger on Note object.

If Yes then please give me an example to do that.

Any help would be very much appreciated.

Thanks in advance.
Naresh.T

Hi,

I am trying to login to salesforce using api's.I am new to the salesforce.I am trying the sample code given in apex api doc.I am getting java.net.ConnectException.

I am using JDK 5.0 ,axis 1.4,apex api's 9.0 and tomcat 5.5.20

The stack trace is given below. Please help me to fix this.

 

An unexpected error has occurred: ; nested exception is: 
 java.net.ConnectException: Connection timed out: connect
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.ConnectException: Connection timed out: connect
 faultActor: 
 faultNode: 
 faultDetail: 
 {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
 at java.net.Socket.connect(Socket.java:507)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:546)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.&lt;init&gt;(SSLSocketImpl.java:349)
 at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:69)
 at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
 at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:2595)
 at org.honeywell.Samples.login(Samples.java:81)
 at org.honeywell.Samples.run(Samples.java:325)
 at org.honeywell.Samples.main(Samples.java:36)

 {http://xml.apache.org/axis/}hostname:IE10DTJ8FNM1S

java.net.ConnectException: Connection timed out: connect
 at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
 at org.apache.axis.client.Call.invoke(Call.java:2767)
 at org.apache.axis.client.Call.invoke(Call.java:2443)
 at org.apache.axis.client.Call.invoke(Call.java:2366)
 at org.apache.axis.client.Call.invoke(Call.java:1812)
 at com.sforce.soap.enterprise.SoapBindingStub.login(SoapBindingStub.java:2595)
 at org.honeywell.Samples.login(Samples.java:81)
 at org.honeywell.Samples.run(Samples.java:325)
 at org.honeywell.Samples.main(Samples.java:36)
Caused by: java.net.ConnectException: Connection timed out: connect
 at java.net.PlainSocketImpl.socketConnect(Native Method)
 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
 at java.net.Socket.connect(Socket.java:507)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:546)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:349)
 at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:69)
 at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:92)
 at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
 at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
 ... 13 more


 Thanks,

Naresh.T