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 In your submit and cancel buttons, you must assign a value to the parameter. The value will be saved in your `ri!` variable when you click the button. I have included the code for reference. Depending on your saving rule input type, the value parameter can either be a text value or a boolean.
a!buttonWidget( label: "submit", value: "Submit", saveInto: ri!submit, submit: true() ), a!buttonWidget( label: "cancel", value: "Cancel", saveInto: ri!cancel, submit: true() )
Thank you Abhishek.
Hi maheshg821223 if your query is resolved , please verify the answer and close this thread