Power Automateのメールアラートフローで、AGOLホストされたフィーチャサービスの作成日フィールドをUTCから日付文字列に変換しようとしています。Survey 123やExcelの日付変換例は見つけられましたが、うまく機能するものは見つかっていません。ご助力いただけると幸いです。 <\/P>
Add it into your email body and an expression/function
@LeviCecil
try this (it's a expression):
This is an expression that I have, and it works as expected:
You may also want to explore a regular expression solution similar to the two examples below that extract date or time from a combined datetime field:
Text.ParseText.RegexParse Text: CSVDateRange TextToFind: $'''([0-9]+(/[0-9]+)+)''' StartingPosition: 0 IgnoreCase: False OccurrencePositions=> Position Matches=> DateMatch
Text.ParseText.RegexParse Text: CSVDateRange TextToFind: $'''(0?[0-9]|1[0-9]|2[0-3]):00\\s[A-Za-z]+''' StartingPosition: 0 IgnoreCase: False OccurrencePositions=> Position Matches=> TimeMatch
Thanks for this. Would you do this inside a compose trigger and use the output in the email body?
I'm trying this in the email body after fetch updates and keep getting the error "Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The template action 'Send_email_(V2)' at line '1' and column '1842' is not valid: "The template function 'items' is not expected at this location.".'.'."
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.