How to retrieve record producer variable value in Business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 02:40 AM
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.
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 03:06 AM - edited 06-28-2023 03:09 AM
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
