In beanshell how to check edit vs add mode?
Confluence User - 14 Mar, 2023
Hi,
I need to do post form submission processing and will be using beanshell. The script will run on both an "add" and an "edit". However I need to differentiate between the two as the processing will be different based on whether I am creating a new record or editing an existing one. How can I check whether we are in an "add" mode versus an "edit" mode in beanshell?
forms
