Hi All, I want to inquire about output invoke error (Invoke GetemailAPI workflow: Object reference not set to an instance of an object), what are the causes and how to fix it?
@111259
Did you declared a variable → get_emailapi of String type ?
If not, Declared a variable → get_emailapi of String type in variable panel.
If possible Upload your workflow to get clarification.
Yes ,i set variable get_emailapi of String type
Check weather you are getting value in out_emailapi or not?
Could you please upload your workflow? because its easy to identify.
@111259
Are you calling “GetemailAPI.xaml” into “Send Email” Sequence ?
If yes,
You commentout the “Send Email” Sequence, uncomment it and run again.
Are you calling “GetemailAPI.xaml” into “Send Email” Sequence ? = Yes , GetaemaiAPI.xaml it Simulated waiting for api value.
If yes,
You commentout the “Send Email” Sequence, uncomment it and run again.
Running Video SendEmail
There is only one Assign activity in “GetemailAPI.xaml”
Assign → Out_emailapi = “kritsana.p@sales.thaibev.com”
Remove invoke workflow “GetemailAPI.xaml” activity, Instead Just declare and initialize a variable String emailapi = “kritsana.p@sales.thaibev.com”
Use variable emailapi there and run it again and see how it goes.
Try to follow and get like. this Did I take any wrong steps?