โ03-18-2021 12:49 AM
Hi All,
How to get the 2 previous snap label and snap instance id .
โ03-18-2021 08:46 AM
If the process allows, you can take out an error view on your rest snap, and combine the outputs with Union. That way, you can get the label and the instance_id if the rest snap fails.
โ03-18-2021 08:59 AM
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?
โ03-18-2021 11:52 PM
Thank you all for your suggestions.We were trying to avoid the hard coding of the values.