How to call a property in a filter condition in a business rule
						
					
					
				
			
		
	
			
	
	
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-02-2024 11:19 AM
Requirement : BR should run only if "Recipients" field in sys_email table contains any of the emails that are present in property.
example : Let's say if property has "123@abc.com" and "456@abc.com" values. If any new email is ready to send to these "123@abc.com" and "456@abc.com" emails(i.e., "if recipients field has any of these user emails in sys_email table), then BR should run and update type to "send-ignored".
So can anyone please assist how to add/call property in a filter condition in BR. Tried adding below filter conditions but didn't work :
1) "Recipients" is one of "javascript:new gs.getProperty("property_name")"
2) "Recipients" is one of "javascript:new scriptinclude_name().function_name();"
function_name in script include has below code.
