You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[X] bug report => search github for a similar issue or PR before submitting
[] feature request
[] support request
[] general question
Current behavior (how does the issue manifest): It seems that mapping with arrays fails when using it in branches or functions
Using in a branch
2018-05-23 19:57:16.474 ERROR [linker] - Get value from link value %+v, error %s$flow.commandline[0] == "type"Execution failed for mapping [$flow.commandline[0] == "type"] due to error - Mapping ref eva error [not an array]
Expression mapping failed, due to Execution failed for mapping [string.concat("Your search parameters are ", $flow.commandline[0], " - ", $flow.commandline[1], " - ", $flow.commandline[2], " - ", $flow.commandline[3])] due to error - not an array
2018-05-23 20:14:35.615 ERROR [flowmodel-simple] - Error evaluating activity 'log_2'[github.com/TIBCOSoftware/flogo-contrib/activity/log] - Expression mapping failed, due to Execution failed for mapping [string.concat("Your search parameters are ", $flow.commandline[0], " - ", $flow.commandline[1], " - ", $flow.commandline[2], " - ", $flow.commandline[3])] due to error - not an array
I'm very sure that $flow.commandline is an array because when I try to use it without any qualifiers in my mapping I get the error
Expression mapping failed, due to Execution failed for mapping [string.concat("Your search parameters are ", $flow.commandline)] due to error - reflect: cannot use []string as type string in Call
The text was updated successfully, but these errors were encountered:
retgits
changed the title
Branch expression failing
Array mapping fails
May 24, 2018
I'm submitting a ... (check one with "x")
Current behavior (how does the issue manifest): It seems that mapping with arrays fails when using it in branches or functions
Using in a branch
The input for the array
The commandline is mapped from the args coming from the cli trigger
The link expression
Using in a function
This mapping
results in this error
I'm very sure that
$flow.commandline
is an array because when I try to use it without any qualifiers in my mapping I get the errorThe text was updated successfully, but these errors were encountered: