トランザクションアイテムの取得について

Orchestratorのキューにアイテムを追加後、
「トランザクションアイテムを取得」アクティビティで「アイテム」というQueueItem型の変数に出力しました。
その後、変数「アイテム」のSpecificContentプロパティから、トランザクションデータを変数「請求書」に取り出そうとしましたが、“代入: Object reference not set to an instance of an object.” とエラーが出てしまいました。何が原因なのでしょうか?


@ak0206

Try initializing the dictionary in the varibales or argumennts panel using New Dictionary(Of String,Object)

Cheers

@ak0206

Can you check whether any value is present or not in the output of get transaction item activity
by placing a log message after get transaction item

And

If you are having any other xaml before to it

Try to run from the main.xaml so that issue will be resolved

こんにちは

請求書= アイテム.SpecificContent

の代入アクティビティの部分でこの例外が出ていますでしょうか?
そうであれば変数「アイテム」がnullかと思いますので、まずはトランザクションアイテムを取得アクティビティの設定を確認いただくのが良いかと思います。(出力に変数「アイテム」が設定されているか等)
またデバッグ実行時は例外発生時に左上のローカルパネルで各変数の状況も確認できるので、あわせて確認いただくと良いかと思います。