public class SalesforceExportProcess extends Object implements WorkflowProcess
SalesforceExportProcess
exports an AEM user to a Salesforce Lead. It is assigned as a workflow stepModifier and Type | Field and Description |
---|---|
static String |
ACCESS_TOKEN |
static String |
APPLICATION_JSON |
static String |
CQ_CLOUDSERVICECONFIG |
static String |
CUSTOMER_KEY |
static String |
CUSTOMER_SECRET |
static String |
ERROR_CODE |
static String |
HTTP_PATCH |
static String |
HTTP_POST |
static String |
INSTANCE_URL |
static String |
JCR_PATH |
static String |
REFRESH_TOKEN |
static String |
SF_LEAD_CREATION_SUCCESS |
static String |
SF_LEAD_ID_FIELDNAME |
static String |
SF_LEAD_MGMT_RESTFUL_PATH |
static int |
SF_SUCCESS_UPDATE_CODE |
Constructor and Description |
---|
SalesforceExportProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
public static final String INSTANCE_URL
public static final String ACCESS_TOKEN
public static final String CUSTOMER_KEY
public static final String CUSTOMER_SECRET
public static final String REFRESH_TOKEN
public static final String JCR_PATH
public static final String CQ_CLOUDSERVICECONFIG
public static final String SF_LEAD_MGMT_RESTFUL_PATH
public static final String APPLICATION_JSON
public static final String HTTP_PATCH
public static final String HTTP_POST
public static final int SF_SUCCESS_UPDATE_CODE
public static final String ERROR_CODE
public static final String SF_LEAD_CREATION_SUCCESS
public static final String SF_LEAD_ID_FIELDNAME
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
WorkItem
and WorkflowSession
.execute
in interface WorkflowProcess
workItem
- The WorkItem
that defines the newly
started JavaProcessNew
.workflowSession
- The WorkflowSession
that is used for starting the JavaProcess
.args
- Process specific arguments can be passed hereWorkflowException
- Thrown in case something goes wrong during execution."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"