Creating Validation by Flow
(The necessity of the text box named Name changes relative to the flow.)
Create a text box named Control and set the visible option to false. (Name may vary) Right-click on the form and click View Validation Code.
Fill in the pop-up code window as follows.
if(String.IsNullOrEmpty(Control) & String.IsNullOrEmpty(Name)){ summary. AddMessage("The namespace cannot be blank!"); }
On the flow side, add a function to the revised desired step.
Fill in the content of the function as follows.
public void FlowScript1_Execute() { eBAForm frm = new eBAForm(Document1.ProfileId); frm. Fields["Text1"]. AsString = "Revised"; frm. Update(); }
In this way, you can remove the requirement of some fields after a revised operation in the flow.