Project

General

Profile

Feature #1070

Updated by Petr Michal over 6 years ago

When I want to insert script into Account management filter in system mapping. The following code is generated: 

 <pre> 
 scriptEvaluator.evaluate( 
     scriptEvaluator.newBuilder() 
         .setScriptCode('xxxxxxxxxxx') .setScriptCode('npkIsHospitalDepartment') 
         .addParameter('scriptEvaluator', scriptEvaluator) 
         .addParameter('uid', uid) 
         .addParameter('attributeValue', attributeValue) 
         .addParameter('entity', entity) 
         .addParameter('system', system) 
	 .build()); 
 </pre> 

 Problem is, that filter does not include attributeValue like transformation. So unless you delete this parameter from generated code, you will end with null pointer. 


Back