We are building an app for freshservice, which runs in the new ticket page. We want to block ticket creation if the email domain is not a specific name.
The app should block the agent from creating a ticket if the requester’s email is from an unspecified domain.
Through the requesterChanged event, we already get the email domain and do that validation. Now we have to block ticket creation or clear the requester field.
The setValue (API interface) does not have the option to change the requester field (and this is not a custom field). In addition we did not find the option to disable the save button (create ticket) in the docs.