I’ve been creating Microsoft forms for years, and I find it difficult to believe that the UiPath dialog form does not have the ability to have Ok/Cancel buttons. Sometimes the user needs to cancel out of the operation altogether, and this is a very basic functionality. How to accomplish this in UiPath? I need to know whether the user didn’t input anything, in which case I’ll prompt again, or whether they cancelled the operation, which I will end the process. I know the test String.IsNullOrEmpty(varInput)
will tell me whether the input variable is invalid, but I need to know if they cancelled. The test doesn’t tell me that, even if they clicked on the exit X in the corner.
Usually, Microsoft forms will have an event OnClose or OnCancel which I can write to. How to accomplish this in UiPath?