MergeDataTableについて

Academy Level3(Advanced)の課題②に取り組んでます。
ディスパッチャ-は完成し、パフォーマーに取り組んでいます。

手順書によると、次のようにあります。
「● ダウンロードしたばかりの csv ファイルを読み取ります。出力プロパテ ィに、dt_MonthlyReport という名前のデータテーブル変数を作成します。」
「● 次に、Merge Data Table アクティビティを使って、 dt_MonthlyReport の値を dt_YearlyReport データテー ブルに追加します。」


上記添付画像のやり方で合っているでしょうか?
この状態で実行すると、
「データテーブルをマージ: オブジェクト参照がオブジェクト インスタンスに設定されていません。」
というエラーが発生してしまいます。
ソースもしくは保存先の変数設定がおかしいのでしょうか?

English text
Now I try to make flowchart for academy Level3, Assignment2.
I could make Dispatcher for store queueitems of WI4.
I can download MonthlyReport as csv-file.
But next, I got error at “MergeDataTable” activity.

Error message is this
“Merge data table: An object reference is not set in object instance.”

I put screenshots for flowchart.
What’s problem? Variables?
Is it correct or not?

Please help me…

@Akane

This error occurs when you are trying to pass null value to it.

And also you didn’t initialise dt_YearlyReport variable with any default value.

1 Like

@Akane

こんにちわ!

繰り返し処理に入る前に下記の設定はありますでしょうか?

dt_YearlyReport = new DataTable

2 Likes

To Iakshman
Thank you for your advice.
Now I checked default value for “dr_YearlyReport”.

1 Like

Jun1様
回答ありがとうございます。

こちら抜けていました。代入アクティビティ追加したら、うまく行きました。

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