Solution:

✅ Fix:

Update your Switch input to use this expression:

coalesce(outputs('Skill'), 0)

💡 Explanation:

  • coalesce() returns the first non-null value from its arguments.
  • So if outputs('Skill') is null, it will return 0.