Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We recently transitioned from Mulesoft to Talend with an integration between SAP and Salesforce. The integration is primarily one way, where SAP sends data to Salesforce (via Talend) and Talend picks up the data via intermittent jobs (except for job that runs hourly that retrieves contact adds/modify/deletes from Salesforce and sends them to SAP).
We also have several use cases that require live data retrieval from SAP. Prior to Talend, a URL was set in “Named Credentials” in Salesforce that called an application in CloudHub (Mulesoft)on the identified URL in Named Credentials. The flow within the application would be invoked to retrieve data from SAP (via an RFC) and return it to Salesforce. We would like to maintain this configuration if possible, in Talend as we don’t want to change the code within Salesforce (except for minor configuration changes).
In one of the scenarios, users click a button in Salesforce to retrieve a pdf of an invoice in SAP. We are using the tRestRequest component to identify the SAP invoice number in Salesforce and have been able to pull this into a local test machine to call the RFC in SAP. We need to be able to do this as a live request from Salesforce and not a job that runs on schedule from Talend as the data needs to be returned to Salesforce immediately. Is there a way to mimic the behavior that we were using with Mulesoft where a call is made to the URL (or another method) for the live call from Salesforce to SAP?
In Talend, we are using remote engines on an internal server(s) to run the jobs in Talend.
It sounds like you have a REST service configured using Talend to acquire your data. Is that right? If that is the case, you just need to change your Salesforce configuration to call that URL instead of the URL it was previously configured to use. You may have to change your REST service to conform with the requirements of Salesforce, but that shouldn't be too difficult. However, this sounds like you need more info about precisely what Salesforce requires from what sounds like a webhook.
Yes, currently we are able to use the local development box to retrieve the data using http://localhost:8800/user in Studio. However, we need to know the Talend URL (or example of one) that is needed to configure the Salesforce entry. We are using a remote engine on a server inside of our network to process the data coming from SAP so I don't think we are technically using Talend Cloud except for the scheduled jobs that invoke the data processing from the server side, if that makes sense. Thank you for the response.
Ah, I see. I *think* from what you have said, that you will need to build some REST services, deploy them to a runtime (related to your remote engine), expose them to Salesforce (which means you need to whitelist Salesforce servers if you have your runtime behind your firewall) and ensure that your REST services meet the requirements of Salesforce. This is quite a learning curve if you have not got most of this already set up. Do you have access to Talend Academy? If so, it might be a good idea to go through some of the courses there before really getting into this.
https://community.talend.com/s/article/Welcome-to-the-new-Talend-Academy?language=en_US