%rand-guid% behavior is broken
The binding refactors we released in the last 0.3 update ended up inadvertently breaking this. Recent changes were introduced to BindingMetadata to pre-resolve all metadata properties at index time, meaning out bindings that use %rand-guid% won't get a unique ID per invocation.
Thanks!
FYI: We're planning on getting this fix out by end of week.
@mathewc Was this ever pushed out?
I am still seeing this issue after updating to the 0.4 runtime... :'(
Yes it was fixed. As part of the fix, the syntax has changed. In a binding expression, you should use {rand-guid} rather than %rand-guid%, example below. You'll get a new guid each time :)
{
"bindings": [
{
"type": "queueTrigger",
"direction": "in",
"name": "input",
"queueName": "scenarios"
},
{
"type": "blob",
"name": "blob",
"direction": "out",
"path": "{Container}/{rand-guid}"
}
]
}