This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
I wanted to perform a extend by performing a lookup using the expression library and it is giving me “this.comparator is undefined” error.
Below is my expression Library Content:
{
embedbusinessUnit: x => x.extend({"Demo":this.comparator[0]}),
embe...
When I am copying the pipeline from one project to another, the version information on the source project is not available in the target project space for the same pipeline.
What is the best to way to copy/migrate the pipeline with version informatio...
I have a scenario as explained below:
I have an expression library which is 176kb to compare with the static data(we have a performance issue with JSON Generator and then performing the join). Which needs to be accessible from the child pipeline whic...
I have created an expression library as below:
{
‘DEPT’:
{
“EG” : “Engineering”,
“HR” : “Human Resource”,
“FIN” : “FInance”
},
AddDescription : element => (element.filter(x=>x.sector==‘USA’).map(x=> x.extend({‘Description’:this.DEPT.get(x.deptId)}))....
Yes, based on comparing with one of the properties in object ‘x’ and then I wanted to assign the property.
For example:
embedbusinessUnit: x => x.extend({"CompVKORG":this.comparator.filter(y=>(y.VKORG==x.VKORG))[0].KSCHLN})
@viktor_n Thank you for your response with a detailed explanation.
I wanted to extend only one field/property from the comparator array element based on the matching criteria as shown below:
embedbusinessUnit: x => x.extend({"Demo":this.comparator[0]...
@AleksandarAngelevski
Right now we are using the JSONGenerator snap with in the child pipeline but it is causing the performance issues.
I used another library which contains only comparator array, and pass it as pipeline parameter:
And used the exp...
@AleksandarAngelevski Thank you for your feedback. but this solution will not work as I have more than 1000 records to be compared. A ternary operator solution might not fit my scenario.