Forum Discussion
I’m not clear on why you need variables to do this. The label of the “REST Post” snap is “REST Post”. It’s constant unless you change it. Can’t you just pass “REST Post” to your child pipeline?
The snap.instanceId of the REST Post is a bit harder to discover since our UI doesn’t expose it. But it’s also constant – it was assigned at design time when the snap was added to the pipeline. It doesn’t change at runtime. You could probably find it by exporting the pipeline and looking at the .slp file. But I’m also wondering how this value is useful when it’s received in an email. What would one do with this information? How would the snap.instanceId value help in determining which snap failed? If the label is unique within the pipeline and you’re including the name or ID of the pipeline, wouldn’t that be sufficient?