Sales Campaign - Response Action To Be Converted to Lead Automatically

(Doc ID 2282761.1)

Last updated on JULY 03, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Goal

Qn1:Is it possible to add a custom Sales Campaign Response action to convert the response into a Lead?
 
Qn2:Can some kind of trigger be used to automatically create lead or convert response after registering response?

For example, tests were done below on object Marketing Response

Trigger : After Changes Posted to Database
Script:
def message

try
{
def LeadVo = newView('Lead')
def newLead = LeadVo.createRow()
newLead.setAttribute('Name', 'POC Lead')
LeadVo.insertRow(newLead)
}
catch(e){
message = e.getMessage()
adf.util.O_INT_Error(message)
}

This trigger works fine when marketing response is created manually but when is created through email response action it is not invoking.
Response created automatically is created by FUSION_APPS_CRM_ESD_APPID Email Sending Daemon Application Identity (CRM).
Is there any possibility to invoke trigger on records created by system (not named users) ?
It is look like the triggers are not run on application ID (APPID). Maybe there is any profile option to "switch on" custom triggers for modifications making by application ?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms