Hey all,
can anyone help with the following
Unable to process template language expressions in action 'Initialise_Plan_ID_variable' inputs at line '0' and column '0': 'The template language expression 'split(parameters('Planner URL (cr626_planID)'), '&planId=')[1]' cannot be evaluated because array index '1' is outside bounds (0, 0) of array.
Hi @ByronGill ,
This means that the string(parameters('Planner URL (cr626_planID)')) does not contain '&planId='.
So the length of the array is 1.
If you don't want it to report an error, please try this-
split(parameters('Planner URL (cr626_planID)'), '&planId=')?[1]
Best Regards,
Wearsky
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional