Windows legacy to windows

I converted my code from windows legacy to window. when i am running the code its thrown me the below error.

Most probably the expression from ArrayRow is not correct and you have null value for it.

Re-check that.

Also based on Studio - About the Windows - Legacy Compatibility

In arguments ,there is no related to object()

@poojitha.vasunuri11,

Pass array like this

New Object () {record ("contact")....}

Thanks,
Ashok :slightly_smiling_face:

@ashokkarale even i passed the new object () ,getting same error

@poojitha.vasunuri11,

Ok it means your data table variable is not initiated. Check in local or immediate panel it would be null.

Try initialise it using build datatable activity or cloning existing datatable.

Thanks,
Ashok :slightly_smiling_face: