03-08-2019 12:14 AM
We’re using pipeline execute to run the tasks in parallel by check Reuse executions to process documents and changed Pool Size. But in the pipeline execute called pipeline, it will generate a log file as an output. How do we generate different file names for different pipeline executions?
We tried to use date.now() in the log file, but sometimes it will generate the same file name, like if we set the pool size to 40, it will provide 39 files only, one file will be overwritten. Is there a way we can add the pipeline execute sequence something like that?
Solved! Go to Solution.
03-08-2019 07:06 AM
You can access the runtime ID for the execution using pipe.ruuid
in an expression property.
03-08-2019 07:06 AM
You can access the runtime ID for the execution using pipe.ruuid
in an expression property.
03-10-2019 09:01 PM
Thanks, it’s working.
03-08-2019 07:19 AM
Isn’t the RUUID the same though, when executing pipelines selecting the “reuse executions” option?
03-08-2019 02:24 PM
Each child execution will have their own RUUID. Also, the pool size was greater than one, so there will be multiple children handling data. Assuming the filename was computed in the child, each execution would write to a separate file.