Map-Function fails in custom app

Hi,
i have a Formula for setting a variable name based on get & map function that works fine:

I tried to implement the same i a module of a custom app:

{
	"response": {
		"output": "{{get(map(parameters.tagArray;\"value\";\"tagDefinitionId\";parameters.tagDefinitionId);1)}}"
	}
}

with the following parameter definition:

[
    {
        "name": "tagDefinitionId",
        "type": "text",
        "label": "tagDefinitionId",
        "required": true
    },
    {
        "name": "tagArray",
        "type": "array",
        "label": "tagArray",
        "required": true
    }
]

And using like this:

But this fails in execution with error message:

BundleValidationError
Validation failed for 9 parameter(s).

  • Collection can’t be converted to text for parameter ‘tagArray’.
  • Collection can’t be converted to text for parameter ‘tagArray’.

Can anyone give me a hint what I am doing wrong here?

Jörg

Custom apps you need to use , instead of ;

And, remove the escaped quotes.

Like this?

{
	"response": {
		"output": "{{get(map(parameters.tagArray,'value','tagDefinitionId',parameters.tagDefinitionId),1)}}"
	}
}

Still the same error :frowning: