I have declared one collection On start property of app.
ClearCollect(TestCol,{
TestFeild :TestFeildInput.Text,
TestFeild2:TestFeildInput2.SelectedText
};Clear(TestCol)
Then i have a button on screen "Button1" which collects the data
On select of Button1 :
Collect(TestCol,{
TestFeild :TestFeildInput.Text,
TestFeild2:TestFeildInput2.SelectedText
});Set(TestJsn,JSON(TestCol,JSONFormat.Compact&JSONFormat.IgnoreUnsupportedTypes&JSONFormat.IndentFour))
and on submit button
PowerAppV2->RunaflowbuiltwithPowerAutomatefordesktop'.Run(TestJsn)
When checked in Variable TestJsn is having the json value but still it gives error that its blank on submit button