Forum Discussion
SpiroTaleski
2 years agoValued Contributor
Try with this expression:
$.mapKeys((value, key)=>key.endsWith('__c') ? key.replace('__c','').toLowerCase() :key.toLowerCase()).mapValues((value, key) => key.toLowerCase().search("createddate") >=0 && value !=null ? Date.parse(value).toLocaleDateTimeString({"format":"yyyymmdd"}) :value)
@Henchway - Error pipeline is useful for normal ETL scenario but for exposing APIs you can follow the traditional approach, take error view out and union all your error and success flow as final response.
I have also tried but not found the solution.@dmiller Do you have any other solution for this scenario?
I’ll check with out Professional Services team to see if they’ve encountered it.
Related Content
- 4 months ago
- 6 months ago