トランザクション アイテムを取得activity QueueItem変数の使い方

下図に設定したキュー内のコレクションを「トランザクション アイテムを取得」activityで取得しそれぞれstring型に変換したいです。

トランザクションactivityの出力は変数「Data」に格納しています。

目的としては、キューコレクションに格納されているデータ(メール送信者、件名、本文)を特定のファイルに書き出していきたいと考えています。

どのようにQueueItem変数を取り扱う(代入など?)かご教示頂けないでしょうか。

何卒宜しくお願い致します。

@wataru.K

If data is the output of get transactionitem activity then data.SpecificContent("MailSubject").ToString will give the subject…similarly other keys as well can be used

Hope this helps

Cheers

@wataru.K

As you created the ouput of get transaction item as data

Use 3 assign activities

StrMailsubject=data(“MailSubject”).tostring

StrMailbody=data(“MailBody”).tostring

StrMailfrom=data(“MailFrom”).tostring

Above strMailsubject,strMailbody,strMailfrom are variables

Cheers

返答ありがとうございます。

実践してみたところ、下図のエラーが発生しました。対処方法をご教示頂けないでしょうか。
宜しくお願い致します。

Hello @wataru.K
If the data variable is having variable type as queueitem then you should mention .specificContent
data.specificContent(“MailSubject”).tostring and same for remaining once.

Thanks and regards

こんにちは

SpecificContentを使用してみてください

data.SpecificContent.Item("MailSubject").ToString()
data.SpecificContent.Item("MailBody").ToString()
data.SpecificContent.Item("MailFrom").ToString()
1 Like

毎度ありがとうございます。

ご教示頂いた内容で解決することが出来ました。

本当にありがとうございました!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.