Display Business Rule not triggering in separated domain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 02:15 PM
Hi,
I am working in a domain-separated instance. We had a simple Display Business Rule in the 'TOP/Internal/ITD' domain that would fill in a field on an incident. However since we upgraded to Tokyo this business rule is no longer running. I tried moving the business rule to the Global domain and it runs again. I need this business rule to be in the proper domain though. Does anyone know how to resolve this issue since upgrading to Tokyo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 03:38 PM
Hi, with no clear details of the BR or your environments configuration the forum can only guess at possible causes.
So the BR does not run when configured in the 'TOP/Internal/ITD' for 'TOP/Internal/ITD' users, but it does run for 'TOP/Internal/ITD' users when set as a global BR?
Perhaps you could share xml of the business rule so that it can be assessed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2022 08:58 AM
Hi, sorry for the sparse details, but your assessment is correct. The BR does not run when it is configured in the 'TOP/Internal/ITD' for 'TOP/Internal/ITD' users, but it does when the BR is set as a global. Before we upgraded to Tokyo this was work. Below is the XML for a test BR I setup to verify the issue.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<xml>
<sys_script>
<abort_action>false</abort_action>
<access>package_private</access>
<action_delete>false</action_delete>
<action_insert>false</action_insert>
<action_label/>
<action_name/>
<action_query>false</action_query>
<action_run_at>server</action_run_at>
<action_update>false</action_update>
<active>true</active>
<add_message>false</add_message>
<advanced>true</advanced>
<application/>
<change_fields>false</change_fields>
<client_callable>false</client_callable>
<collection>incident</collection>
<condition/>
<description/>
<execute_function>false</execute_function>
<filter_condition table="incident"/>
<is_rest>false</is_rest>
<message/>
<name>Test Set Correlation Display</name>
<onclick/>
<order>100</order>
<priority>100</priority>
<read_access_action>false</read_access_action>
<rest_method/>
<rest_method_text/>
<rest_service/>
<rest_service_text/>
<rest_variables/>
<role_conditions/>
<script>
<![CDATA[ (function executeRule(current, previous /*null when async*/) { // Add your code here })(current, previous); ]]>
</script>
<sys_class_name>sys_script</sys_class_name>
<sys_created_by>AdminWasonJ1</sys_created_by>
<sys_created_on>2022-11-17 16:54:17</sys_created_on>
<sys_customer_update>false</sys_customer_update>
<sys_domain>c90a2b444a3623120064ed56263be407</sys_domain>
<sys_domain_path>!!!/!!)/!!!/</sys_domain_path>
<sys_id>9dc8a3581bdb9990baa1a687b04bcbfd</sys_id>
<sys_mod_count>2</sys_mod_count>
<sys_name>Test Set Correlation Display</sys_name>
<sys_overrides/>
<sys_package display_value="Global" source="global">global</sys_package>
<sys_policy/>
<sys_replace_on_upgrade>false</sys_replace_on_upgrade>
<sys_scope display_value="Global">global</sys_scope>
<sys_update_name>sys_script_9dc8a3581bdb9990baa1a687b04bcbfd</sys_update_name>
<sys_updated_by>AdminWasonJ1</sys_updated_by>
<sys_updated_on>2022-11-17 16:55:08</sys_updated_on>
<template>correlation_display=Test^EQ</template>
<when>before_display</when>
</sys_script>
</xml>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 12:34 PM
Did you find a solution for this issue? I am having a similar issue.