cancel
Showing results for 
Search instead for 
Did you mean: 

Question regarding "Using SnapLogic Meta Snaps to Update Tasks" Video

bradwyatt
New Contributor II

I've been reviewing the video https://www.snaplogic.com/resources/videos/using-snaplogic-meta-snaps-to-update-tasks which is "Using SnapLogic Meta Snaps to Update Tasks"

In 3:30 in the video, within the Mapper snap, there is an expression $original.path with a target path of $path.

What is the purpose of including that expression, since pass-through is selected? Shouldn't the $path already be going to the output anyways?

Thanks

1 REPLY 1

RogerSramkoski
Employee
Employee

Hello @bradwyatt, thank you for joining our Community! You are correct, we do not need to explicitly map $original.path to $path in the Mapper Snap for the Pipeline to function. In that case we would need to change the SnapLogic Update Snap from $path to $original.path. 

Here is the SnapLogic Update Snap from the original Pipeline in the recording:

rsramkoski_0-1704209759976.png

And here is the Snap configuration we could use if we just relied on "Pass through" being enabled in the Mapper Snap:

rsramkoski_1-1704209859553.png