Pipeline to Concatenate Text and Increment Numbers
I want a pipeline that, when a record is created in table A, it will look to see if the record exists in Table B. If it doesn't exist, create a new record in Table B. If it does exist, concatenate the text from the new record in Table A with the existing record text in Table B separated by a comma. I also want to add a value from a field in the new record from Table A with the corresponding value from the existing record in Table B.
For example, the new record is created with "some text" in field 5 and the number 3 in field 8. The existing record in table B currently has "a message" in field 2 and the number 1 in field 5. After the pipeline runs, I want the existing record in table B to read "a message, some text" in field 2 and the number 4 in field 5.
I can create the pipeline, search for the existing record, setup the condition to determine whether or not the record exists, etc. I'm assuming I need jinja expressions to concatenate the text and increment the number. If so, what is the jinja I need for each? Hopefully, the solution is something simple for me to do.
------------------------------
James Carr
------------------------------