Forum Discussion
Hello @bcole,
I included a pipeline in the post that evaluates the array by using the array filter function. If the array objects, are filtered out based on the AI_Status field (their value is 8,16 or 32), and the array is not empty, then that means one of the AI_Statuses has some other value.
I named that additional field as routingPath
which can be easily used for further processing, in your case routing.
Routing_FieldValue_2022_11_10.slp (11.7 KB)
Hope this helps,
Bojan
- bcole3 years agoNew Contributor
Bojan,
I think that solutions works nicely. Thank you so much. I just have one other question. What is the best way to add a value, specifically the IpaasQueueId , and EntityKey to Rows that are further down stream like after the stored procedure snap. The first SQL Snap and the second snap have an EntityKey = ContextName relationship. I need that and the IpaasQueueId from the first SQL call.
- bojanvelevski3 years agoValued Contributor
I’m not sure I understand @bcole, can you elaborate a bit more?
- bcole3 years agoNew Contributor
Hi Bojan,
I think I figured it out. Perhaps the diagram below can show you what I was asking. I wanted to pull data from one early snap and get that information back way further down the pipeline.
I needed to join some of my original data from the first SQL Server JSON response with Data from my SQL Store Procedure call: I was asking for the preferred way of making that happen. Below is what I came up with. Unless you have a better idea, I think we can consider the case closed.
The expression you sent was great, but how would I know to use the “match” with the filtering. I have taken your Expression training class, but I would like to know another resource that can help me learn to create all the complicated Expressions I will need going forward. Also I tried using jsonPath to reach a solution. Some of the jsonPath would work on online validators, but would not inside various snaps.
Where do you point people to learn the brand of jsonPath that works here?