Invoke System1 Navigate toWIdetails object reference not set to an instance of an object

Everything seems to work until I hit the “System1_Navigateto_WIDetails”.

i need help to solve it

thanks

2 Likes

Hi @rachida

Attach your workflow here.

1 Like

ReFrameWork-master(2).zip (3.7 MB)

1 Like

I checked everywhere in your code, but I couldn’t find where you’re invoking this particular workflow.

1 Like

in process transaction

1 Like

Hi Rachida,

Please check your arguments. Bind them properly.

Thank You
Archana

1 Like

Please check you arguments.
I think you have missed one mapping for it.
Also if you are on the old version click on export arguments button once

2 Likes

Apologies, @rachida

Yes. The problem is you’re using a browser object, but you’re not providing any reference to it. So it’s null at the moment. You’ll need to send the browser object as an input argument from the Main to the Process Workflow when invoking it.

2 Likes

@rachida I’ve created an input argument inside Process.xaml for your browser object which you’ll be sending to “System1_Navigateto_WIDetails”.

I’ve used the Browser object variable (present in the Main) in the invoke workflow activity for Process.xaml as the value of the input argument “in_System1Browser”.

Below is your modified code:

ReFrameWork-master(2).zip (2.4 MB)

5 Likes

thnks can you send me your mail please

1 Like

still the same problem

1 Like

1 Like

hey can you map the out argument as well and run?
it shud fix the issue

1 Like

Hi Rachida,

The problem lays in the arguments that you used in invoke Process workflow.

These are the arguments in get transaction data (you obtain the data in datarow TransactionItem):

Then in Process, you do not send the data from TransactionItem, but from in_WIID, which is probably unassigned.

.

My advise would be to send argument in Process the same TransactionItem (datarow) and inside the workflow, if you need a value from that datarow, use in_TransactionItem(“WIID”).ToString

Regards,
Daniela

3 Likes

thanks for your answer its good i managed to finish assign1

2 Likes

Thats awsme :slight_smile:

1 Like

can you help me to fix mu probleme in Assign2 dispatcher

thanks

What is the issue with your dispatcher?

Question:
Do you have open WIID in your test data?
I guess your process has already run once and completed.

1 Like