Object reference error in in_Config

Hello Friends,

I am invoking flow under Process sequence and want to bring value through config but it is not working, it shows below message.
“Object reference not set to an instance of an object.”

Correct me if I am wrong in attachment.

If I placed this message box in process then it is working but in invoke its not working.

Pls help.

Hi @Jeeru_venkat_Rao

You config is null you haven’t passed properly please check that

The image shows a debugging window with an argument "in_Co..." of type Dictionary listed as having a null value. (Captioned by AI)

Regards,

@Jeeru_venkat_Rao,

This indicates your in_Config is null. This mainly happens when you don’t pass the argument value correctly from invoke workflow activity or you have same variable name as your in_Config in Process xaml.

Thanks,
Ashok :slight_smile:

@Jeeru_venkat_Rao

While invoking make sure to click on import arguments and link the in_config argument

Cheers

I re-checked and I did not find anything wrong.

In argument also I mentioned correctly. Can anyone create small xaml for this. I will compare it.

@Jeeru_venkat_Rao,

In value, pass Config variable.

Thanks,
Ashok :slight_smile:

@Jeeru_venkat_Rao

In the value provide the argument name or the variable …that is the wrong one

Cheers

@Jeeru_venkat_Rao,

Pass it like this.

The image shows a UiPath Studio project window with the "Main.xaml" workflow file open, displaying activities and dependencies within the workflow editor. (Captioned by AI)

Thanks,
Ashok :slight_smile:

It is asking

This is in config

@Jeeru_venkat_Rao,

Follow this.

Thanks,
Ashok :slight_smile:

Thanks Ashok, I thought it was an image but it is a video. I got it and its working fine.

1 Like

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