The CreatorCon Call for Content is officially open! Get started here.

I want to close the Transfer Case UI Page when the case transfer is aborted by a Business Rule

TheLangGuy
Tera Contributor

Hi All,

I am trying to achieve a functionality of allowing the click of the submit ok button for the Transfer Case UI Page when the transfer is aborted in the Server Side via a Business Rule.

Background of the Issue :

I am aborting the transfer of case for certain scenarios based on when the HR Assignment Rules is assigning the case to a particular support group. I am using a before Business Rule with order > 1000 to abort the insert of the case but in that case the transfer a case UI page is stuck and I need to close that and reload the form to see the alerts. Can I achieve this with the click of the transfer case Submit ok button ?

If you refer the attached images, you are going to see the UI page in the workspace and the second image that shows the error message which comes from the Business Rule when I manually close the UI Page and reload the form.

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@TheLangGuy I doubt if you would be able to control this via server side script. Also, the attached snapshot are from configurable workspace, any handling related to the workspace need to be taken care of using UI Builder and not the UI Page.

The scenario to abort the case is dependent on the Assignment Rules, Is there any other way I can validate the assignment rules from Workspace Client Script via Ajax call to server or from the UI Builder ?