Avatar

Level 2

Cool thanks! In case anyone else has a similar question the format of the JS that worked to get my workflow name as my file name was this.

 

vars.fileName=instance.label + "_" + formatDate(new Date(),"%4Y%2M%2D") + ".txt";