Preconditions:
The account 'Foo' has the collection 'Bar' in Resourcemap
Steps:
Sign into mBuilder with the account 'Foo'
Go to create a Message Trigger
Fill the field 'When a message like this is received:' with 'foreach'
Add the collection 'Bar' from Resourcemap
Add a foreach Loop
Add a new step 'Send SMS' where the Facility 'Name' is sent
Send 'foreach' using the Sandbox
Obtained:
The following error is thrown: 'Error: undefined method `[]' for #ResourceMap::Site:0xa5bb120'
Found in version 1.2-pre2
Resmap Version 2.14-pre7
Preconditions: The account 'Foo' has the collection 'Bar' in Resourcemap
Steps: Sign into mBuilder with the account 'Foo' Go to create a Message Trigger Fill the field 'When a message like this is received:' with 'foreach' Add the collection 'Bar' from Resourcemap Add a foreach Loop Add a new step 'Send SMS' where the Facility 'Name' is sent
Send 'foreach' using the Sandbox
Obtained: The following error is thrown: 'Error: undefined method `[]' for #ResourceMap::Site:0xa5bb120'
Expected: Each Facility 'Name' should be returned