Skip to content

Using lists as parameters #494

Answered by StephanSST
StephanSST asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Dieter
I tried your tip but it's not working. I still get an error:

2021-11-29 09:34:24 ERROR       File did not contain valid json:
 --> .\template\notification\EMail.json:7:6
   |  "receivers": [
 7 |   " "[email protected]", "[email protected]" "
   |      ^^^
   - Cause: invalid character 'p' after array element
2021-11-29 09:34:24 ERROR Errors during deployment! Check log!

But with your tip and the error message I assumed that the double quote (") sign at the beginning and at the end is constant so I just removed them and tried this new option:

- receiver: [email protected]", "[email protected]

and it worked. It looks pretty strange but now I get two email receivers in my alert notificat…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@didiladi
Comment options

Answer selected by StephanSST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants