While it is generally needed by our client, I would like to ask if it is possible to hide the triLog > triLocationRetire form that pops up when we retire a building, and according to a specific condition check that takes place inside a workflow? In other words, when we push the Retire button, a check is made. If the condition is true, the triLocationRetire should pop up. If not, an error message should appear in the Attention section of the form.
The problem is that, in the last case, the triLocationRetire form pops up and it actually needs to be filled in and submitted before the error message is shown. Obviously, this is inconvenient and impractical for the client, so I am looking for a way to hide the popup form in this specific case. Any suggestions would be greatly appreciated! Thank you very much in advance!
TRIRIGA introduced conditional popup logic in platform 184.108.40.206. You can see an example in this out-of-the-box workflow: “triReserveCheckInLog – Synchronous – Validation – Pre-Popup Form – Cancellation Review” (triLog module, triReserveCheckInLog BO). You can dynamically set which popup form to be displayed or set it to not display any popups at all. The pre-popup form workflow needs three things:
- 1. “triPopupForm” input parameter, defined in the Start task parameters.
- 2. “triPopupForm” return value, defined in the Start task parameters.
- 3. A Variable task pointing to the System module, triPopupForm BO.