Re: [ruote:4095] Problem accessing Hash values of an engine variable in workflow

23 views
Skip to first unread message

John Mettraux

unread,
May 23, 2013, 4:51:49 PM5/23/13
to openwfe...@googlegroups.com

On Thu, May 23, 2013 at 07:20:43AM -0700, Idan Moyal wrote:
>
> I have the following engine variable set:
>
> props = Hash[ 'key' => 'value' ]
> dashboard.variables['props'] = props
>
> I would like to access this variable in my workflow - so i expected this to
> work:
>
> define my_workflow
> echo "$v:props.key"
>
> But it doesn't :/ (nothing is printed)
>
> On the other hand, this works:
>
> define my_workflow
> set "v:abcd": "v:props"
> echo "$v:abcd.key"
>
> Output: "value"
>
> Am i missing something here?

Hello Idan,

welcome to the ruote mailing list.

I have filled a bug report with your finding:

https://github.com/jmettraux/ruote/issues/80


Many thanks!

--
John Mettraux - http://lambda.io/jmettraux

Idan Moyal

unread,
May 23, 2013, 4:59:29 PM5/23/13
to openwfe...@googlegroups.com
Thanks!

John Mettraux

unread,
May 23, 2013, 5:48:23 PM5/23/13
to openwfe...@googlegroups.com

On Thu, May 23, 2013 at 01:59:29PM -0700, Idan Moyal wrote:
>
> Thanks!

It should be fixed now:

https://github.com/jmettraux/ruote/commit/5ace3d6c


Thanks again!
Reply all
Reply to author
Forward
0 new messages