Dear Community friends,
I am having hard time to understand the best approach of executing the C# Code from Smartform itself. C# code is being used to integrate with Microsoft Dynanics GP. All it does is it takes Data field values from Workflow ProcessInstance and smartbox and execute the methods.
These C# Code runs only when user input all values and submit the workflow, however workflow should advance only when an itergation is successful and notify the user , if its failed or throw an exceptional error, then user should be notified that error and workflow should not advance and user should still be able to change the data in the smartform.
Working on the ASP.NET form is quite flexible to handle this situation but do not understand how it works in K2 smartform. Please help. Thanks.