Google Apps Script Conditional If/Else If Statement

后端 未结 1 1502
难免孤独
难免孤独 2020-12-12 06:09

I\'ve got this script below but it keeps returning the incorrect information. For instance, even though the \"urgency\" may equal \"medium\", it returns the \"critical\" res

相关标签:
1条回答
  • 2020-12-12 06:31

    You should use == for comparing , not =

    if (urgency == "Critical")

    and so on..

    0 讨论(0)
提交回复
热议问题