2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Azure Logic Apps および Power Automate の日本の祝日 (2023年、2024年) 判定

Posted at

式関数のリファレンス ガイド - Azure Logic Apps | Microsoft Learn
ベタにワークフロー内に変数を保持しただけ版

判定

@{contains(variables('JapanHoliday2023'), convertFromUtc(UtcNow(), 'Tokyo Standard Time', 'MMdd'))}

True = 祝日

祝日データ

2023年
"JapanHoliday2023_Val": {
                "inputs": {
                    "variables": [
                        {
                            "name": "JapanHoliday2023",
                            "type": "array",
                            "value": [
                                "0101",
                                "0102",
                                "0109",
                                "0211",
                                "0223",
                                "0321",
                                "0429",
                                "0503",
                                "0504",
                                "0505",
                                "0717",
                                "0811",
                                "0918",
                                "0923",
                                "1009",
                                "1103",
                                "1123"
                            ]
                        }
                    ]
                },
                "runAfter": {},
                "type": "InitializeVariable"
            },
2024年
            "JapanHoliday2024_Val": {
                "inputs": {
                    "variables": [
                        {
                            "name": "JapanHoliday2024",
                            "type": "array",
                            "value": [
                                "0101",
                                "0108",
                                "0211",
                                "0212",
                                "0223",
                                "0320",
                                "0429",
                                "0503",
                                "0504",
                                "0505",
                                "0506",
                                "0715",
                                "0811",
                                "0812",
                                "0916",
                                "0922",
                                "0923",
                                "1014",
                                "1103",
                                "1104",
                                "1123"
                            ]
                        }
                    ]
                },
                "runAfter": {},
                "type": "InitializeVariable"
            },

他 参考

Power Automateで祝日を判定したい|アイシーティーリンク株式会社 公式ブログ
Power Automate - 祝日か判定し処理内容を変更/ 中断/ 停止する

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?