Invoke Workflow File: Object reference not set to an instance of an object.(Error)

Hi everyone i’m facing a issue in Re Framework while invoking Xaml.

(Invoke Workflow File: Object reference not set to an instance of an object.)

I’m reading all data from Excel and i have stored in variables and i created arguments in another Xaml and i invoked that Xaml in my flow and i connected Arguments and variables , while running i’m getting this error it is not invoking my Xaml and it is throwing error.
(Invoke Workflow File: Object reference not set to an instance of an object.)

Anyone please help me how to solve this

Could you show workflow arguments (sample below)

Cheers

Hi @J0ska I’m using more than 30 arguments all are IN arguments

Okay. As first instance did you try printing (Write Line) all variables you assign to arguments prior the invoke?

Cheers

@J0ska Yes all variables having data and I’m using correct variable type also

I recall some case here in forum where such problem was caused by variable initialization inside the invoked workflow… Do not remember details :frowning:

Check all variables in the WF which are getting some default value.

Cheers

Sure @J0ska i will check

And as last resort - create a new empty WF and gradually copy/past content of the original - arguments, variables, activities…

Cheers

Sure @J0ska