Refer to variable "dynamically"?

Hi guys

Example use case (this isn't my actual use case but is to get the idea across):

Variables:

mondayTeam
tuesdayTeam
wednesdayTeam
etc

Now elsewhere in my Architect flow I'll be getting the current day of the week.

So what I'd like to do then is to be able to call the above variables dynamically something like
Flow.(dayofweek)+"Team"
but I can't quite figure out how to get this to work because it rightly doesn't see any of that as being valid variable names.

I only use weekdays here as an example, otherwise a datatable or something else would work easily enough.

Hi Vaun,

I don't think this is currently possible. I'd suggest creating a ticket on https://genesyscloud.ideas.aha.io/ideas to feed it through to the product owners, etc.

Regards,

Kevin

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.