I have an Interface with Cancel and Submit button. This interface also has Rule Inputs defined for Cancel and Submit. I also had defined a process model for this Interface. I have kept the process model screenshot as well to this. When I am testing the Process Model, program always goes to "Import Excel to Database node", this happens even when I hit Cancel button the Interface. I feel the button clicks are not sending/capturing the correct values onto process model. Can you please let me what am I doing wrong here?
Discussion posts and replies are publicly visible
Hi maheshg821223 , I have reviewed your code and noticed that you have used a rule input in place of the value. Instead, you should provide a value that can either be a text(string format) (e.g., 'Cancel' or 'Submit') or a Boolean value (True/False), depending on your requirements. This value will be saved in your rule input as soon as the button is clicked. So, You can then implement the logic, such as: if Cancel = true, proceed to the end node, or if Cancel = 'Cancel', proceed to the end node.
Thank you gayatria0439 . Appreciate the help here.