Forum Discussion
Thank you for your response, and sorry for the inconvenience with JSON. My requirement is little different. Given the original JSON source, I have to do a lookup on a second JSON source and add the exp_time property to the case step
[
{
“code”: “abc”,
“exp_time”: “30s”
},
{
“code”: “xyz”,
“exp_time”: “20s”
},
{
“code”: “def”,
“exp_time”: “40s”
}
]
The output we are expecting is something like
[
{
“caseId”: 1,
“caseDate”: “2017-08-04”,
“caseSteps”: [{
“code”: “xyz”,
“value”: 10,
“primary”: null,
“exp_time”: “20s”
},
{
“code”: “abc”,
“value”: 20,
“primary”: null,
“exp_time”: “30s”
},
{
“code”: “def”,
“value”: 20,
“primary”: null,
“exp_time”: “40s”
}]
}
]
- SpiroTaleski3 years agoValued Contributor
Is there any reason why you don’t use the Salesforce SnapPack?
The Salesforce Snaps in background are using the Salesforce REST API’s.
BR,
Spiro Taleski - SpiroTaleski3 years agoValued Contributor
The last snap, is that a Salesforce Create Snap?
If so, first check the Snap Execution mode(select Validate&Execute), so on the output you will see the results of the created records.
BR,
Spiro Taleski - SpiroTaleski3 years agoValued Contributor
If creation of that record in Salesforce is successful, then on the Salesforce Create Snap’s output you should have the id of the created record.
@ Spiro_Taleski I used below flow to read the parameters from pipeline to create an account in salesforce. but i am not sure how to get ID as a response from this
@Spiro_Taleski
Do you mean that is the response id?- SpiroTaleski3 years agoValued Contributor
If you have the Salesforce Create Snap properly configured, the accounts will be created in Salesforce, and the Snap will produce output(similar like Mapper snap), that will contains the saleforce id’s of the created accounts.
@Spiro_Taleski okay, how to connect to salesforce account without using salesforce create snap and only by using service url in REST POST/GET snap, when i try to give a service url it is showing as invalid. How to give correct one
@Spiro_Taleski Any hunch?