Hi, I try to create workflow for check oldest snapshot in all of my VM...My goals is the output sent by email to specific recipients but I can't send all of the output....
**Scriptable Task
.............................
if(days>totalDay){
snapshots.push(ss);
System.log("The snapshot "+searchResults[i].folderPath +files[j].path+" of the VM "+ss.config.name+" had "+Math.floor(days)+" days");
var content = "The snapshot "+searchResults[i].folderPath +files[j].path+" of the VM "+ss.config.name+" had "+Math.floor(days)+" days"; // I add this content variable for sent to my email notification workflow
**System.log output**
[2014-04-09 01:32:58.115] [I] The snapshot [Datastore1] data-va/data-va-Snapshot1.vmsn of the VM data-va had 141 days
[2014-04-09 01:32:58.365] [I] The snapshot [Datastore2] Analytics VM_2014225_19448/Analytics VM_2014225_19448-Snapshot4.vmsn of the VM Analytics VM_2014225_19448 had 10 days
[2014-04-09 01:32:58.779] [I] The snapshot [Datastore3] gateway-va/gateway-va-Snapshot1.vmsn of the VM gateway-va had 130 days
[2014-04-09 01:33:00.768] [I] The snapshot [Datastore1] configurator-va/configurator-va-Snapshot145.vmsn of the VM configurator-va had 148 days
But in my email I only receive latest output --> [2014-04-09 01:33:00.768] [I] The snapshot [Datastore1] configurator-va/configurator-va-Snapshot145.vmsn of the VM configurator-va had 148 days
Is it necessary for change the content variable type from string to Array/string?
Thank you before....