How to retrieve record producer variable value in Business rule

Musab Rasheed
Tera Sage

Hello,

 

We had a requirement to Populate 'Source' field on HR case table with Now mobile/Service portal depends on where it was created, We have achieved this by created variable and setting it through client script. Issue here is variable which we are hiding on Record producers is getting copied to HR case description field so to avoid that I want to make my Variable blank once record is submitted, I have gone through so many threads but In BR on HR case table I'm not able to fetch variable value. Please help.

 

Things I tried.

 

gs.info("Current cat value is1"+ current.variables.link);
And
gs.info("Current cat value is1"+ current.variable_pool.link);
 
Please help to understand how I can fetch record producer variable in Business rule to make it blank before insert so that it should not get captured in 'Description field'.
 
MusabRasheed_0-1687945201414.png

 

Please hit like and mark my response as correct if that helps
Regards,
Musab
5 REPLIES 5

manjusha_
Kilo Sage

@Musab Rasheed 

 

You have to clear the value of the variable which you don't want  to show ,in the script which is updating the values  in hr case description

 

OR 

In on submit catalog client script ,you can clear variable value.

or  

Just try to clear value in on before business rule as below

current.variables.link(variable_name-replace with correct name) ='';

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact

Thanks,

manjusha Bangale