Argument passing issue - NULL outcome

Hi i am not able to pass the argument (out_UploadID) to variable (UploadID) as seen in the screenshots below. Tried debugging for awhile but still could not figure out



@Jie_Sheng_Ong

Welcome to forums

You are storing the out response to a variable which is correct
At the same time check if you have the same name in the Arguments also if created by mistake
Also check that you are passing using the log message with UploadID in outside of the Invoke Workflow

Hope this may help you

Thanks

Hi,

Check the argument section of below highlighted workflow, Seems like you have created argument with same name in this workflow. argument name ->UploadID

Hi @ghazanfar

These are the only arguments in my argument tab in the Process workflow

Hi @Srini84

I have checked, i do not have other arguments named UploadID

Yes it is outside the Invoke workeflow which is the workflow above…
image

@Jie_Sheng_Ong

Just keep a breakpoint and check the UploadID value in Locals

Also check if you have duplicates in Variables also

Check the scope of the variables too

In this way you can check the issue

Hope this may help you

Thanks

Within Local it is showing null too

Checked the scope of UploadID Variable, it is “Process” which is the name of this workflow
There are no other duplicates that i have found

@Jie_Sheng_Ong

Can you share your process folder, So we can check

Thanks

Process.xaml (14.8 KB)

Here you go

@Jie_Sheng_Ong

Can you please zip the entire folder and share? I need the dependency files to open your process

Thanks

@Srini84

Apologies, here’s the entire folder zipped

Generate_Yearly_Report_2021_Performer.zip (1.5 MB)

@Jie_Sheng_Ong

Check inside the Invoke Workflow

you have both Aguments and Variables with the same name

Delete the variable used inside the invoke workflow and you are fine to go

Hope this may help you

Thanks

1 Like

Thanks and sorry for the trouble, my bad for missing this out. Great learning point for me too (:slight_smile:

1 Like

@Jie_Sheng_Ong

Don’t be sorry, we are all learning from the mistakes

Happy Learning & Automation

Thanks
Srini

1 Like

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