Issue with Coded Workflow

Hi @oraganti931,

Copying the above code and validating the project will yield:

Compilation will fail anyhow:

There is a problem with the attached code so the code is not compilable - you must declare the Result variable as var Result.

Once you do that it will work:

Also attached the project here:
InvokeSample.zip (16.0 KB)

You can find more samples with workflows - coded workflows interopability over in our Samples Repository.

1 Like