cancel
Showing results for 
Search instead for 
Did you mean: 

Generate dynamic sequence in mapper with every pipeline validation?

darshthakkar
Valued Contributor

Hi Team,

Is there a way we can generate a dynamic sequence in mapper or any other snap (values of which can be used in mapper eventually) with each pipeline validation? If not with pipeline validation, it will be okay for now if we are able to generate a value with each pipeline execution.

For example, if I validated or executed my pipeline once, the sequence starts with 1, with every other run, the sequence would be 2, 3, 4, etc.

Thank you.


Best Regards,

Darsh

6 REPLIES 6

koryknick
Employee
Employee

Make sure your File Writer that is re-creating the expression library with the count is set to Validate and Execute (by default it is Execute Only).  Also, you can use multiple expression libraries in your pipeline properties, so I would have the count alone in it's own library so you don't need to ensure re-creation of your entire expr file.

Makes sense, I will try with this tomorrow and keep you posted with my findings. Thanks for the insights though.