I have a bot that triggers when the column Assigned To of type Enum gets changed. This bot runs a AppScript function called assignedToChanged. A bunch of values is passed to this bot, among those is the column Additional PMs of type EnumList. The problem is that this column is passed as a single-valued array. Example: the column has the values A, B, C; then the script will receive ['A, B, C']. See image below.
What is odd is that I have another bot triggered when the column Additional PMs is updated, and the bot receives the same column as an array of individual values, like this: ['A', 'B', 'C'], which is the behaviour I expected in the situation above.
I would like to know how to make the first bot behave as the second one.
Something doesn't make sense. Can you show us the two different Bot's and how you are passing the column as values to the script?
Bot triggered when Assigned To changes.
Bot triggered when Additional PMs changes:
User | Count |
---|---|
15 | |
14 | |
8 | |
7 | |
4 |