• Yehuda Melamed
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 4
    Replies
Hello

I have written a simple trigger to convert lead to contact.
It has an error I can't understand:
Error
Reason: Could not process your referral.
common.exception.SfdcSqlException: ORA-20025:
ORA-06512: at "SNEEZY.CACCESS", line 2399
ORA-06512: at "SNEEZY.CACCESS", line 585
ORA-06512: at "SNEEZY.CACCESS", line 656
ORA-06512: at "SNEEZY.CTASK", line 552
ORA-06512: at line 1


{call cTask.insert_tasks(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}

{call cTask.insert_tasks(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}

I have found several links about this error:
https://developer.salesforce.com/forums/?id=906F0000000An21IAC

https://success.salesforce.com/issues_view?id=a1p30000000Sup5AAC

The scond link suggests the following:
Repro
Conditions that cause this: 
- database.leadConvert is executed for the lead inside Lead after insert trigger. 
- There is workflow associated with the Lead to create a new task as an immediate action.
Workaround
Set the workflows's "new task" task as time-dependent instead of immediate. The problem only manifest itself if the task is created at the same time the lead is converted.

Has anyone done this before? Set the workflows's "new task" task as time-dependent...?

Thank you
Hello
I wish to add a Facebook share button to an email template.
Can anyone help?
Is it possible?
Has anyone done it?
Thanx
Hello

I have written a simple trigger to convert lead to contact.
It has an error I can't understand:
Error
Reason: Could not process your referral.
common.exception.SfdcSqlException: ORA-20025:
ORA-06512: at "SNEEZY.CACCESS", line 2399
ORA-06512: at "SNEEZY.CACCESS", line 585
ORA-06512: at "SNEEZY.CACCESS", line 656
ORA-06512: at "SNEEZY.CTASK", line 552
ORA-06512: at line 1


{call cTask.insert_tasks(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}

{call cTask.insert_tasks(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}

I have found several links about this error:
https://developer.salesforce.com/forums/?id=906F0000000An21IAC

https://success.salesforce.com/issues_view?id=a1p30000000Sup5AAC

The scond link suggests the following:
Repro
Conditions that cause this: 
- database.leadConvert is executed for the lead inside Lead after insert trigger. 
- There is workflow associated with the Lead to create a new task as an immediate action.
Workaround
Set the workflows's "new task" task as time-dependent instead of immediate. The problem only manifest itself if the task is created at the same time the lead is converted.

Has anyone done this before? Set the workflows's "new task" task as time-dependent...?

Thank you
Hello
I wish to add a Facebook share button to an email template.
Can anyone help?
Is it possible?
Has anyone done it?
Thanx