Hello,
I have a workflow that our server admins can use to take a snapshot. The workflow creates a task behind the scenes to automatically commit the snapshot in 3 days per our policy. It is working beautifully, but we ran into a special situation where a user created two snapshots within a 3 day period. The problem I am having is that when I commit the original snapshot I'm committing ALL snapshots. I now need to modify the workflow so that it only commits the snapshot that was created at that time rather than ALL of them on the VM.
My question is how can I pull the Snapshot ID, drop it into an attribute, and specifically commit that snapshot at the end of 3 days? The canned workflows allow you to commit all snapshots, size, age, or by number. I don't see anything that commits a specific snapshot based on snapshot ID. Maybe this isn't possible, but I thought I'd shout out and see if somebody has done something similar.
I have tried using the Action (getPropertiesForSnapshotTask) to get snapshot properties but it returns useless information (string= "Properties: some random number that changes each time I run it")
Forgive me, but my scripting is limited so if this needs to be scripted please let me know the syntax.