How Can We Help?
When catching and displaying errors on the submit of an activityA specific step in a process. It will be the user interface for that step (web form or a screen), for example, the Leave Application (screen interface or web form) will be the first Activity in the Leave Requisition process. The Leave Application Authorization will be the second step or Activity in the Leave Requisition process. One Process can have multiple activities. it doesn’t always show the processed scripting results on the form.
For example, in the OnRefresh method was set a value to X for a specific label.
Go and click submit which displays a custom error on the screen.
Even though the value X might have been set it is not displayed on the form as being set.
In VB script, there is the option to fcBusinessEvent.ForceProcessCurrentRefresh which will process the information before submitting, what is the equivalent in C#?
Answer
fcBusinessEvent.ForceProcessCurrentRefresh
The C# equivalent should be:
activity.ForceProcessCurrentRefresh();
Comments are closed.