current.variables.variable_name does not work on sn_vdr_risk_asmt_vendor_engagement table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 11:15 AM
I created a new Record Producer on sn_vdr_risk_asmt_vendor_engagement table in GRC:Vendor Risk Management
after the record created Im trying to get the variables values by simply using current.variables.variable_name but always getting this message:
com.glide.script.RhinoEcmaError: Cannot read property "name" from undefined
sys_script.2e771f3f471721106ee5afb8036d43de.script : Line(5) column(0)
2:
3: // Add your code here
4:
==> 5: gs.info('Haim- - - ' + current.variables.name);
6:
7: })(current, previous);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 12:23 PM
Have you tried using a glide record to the question_answer table? That's where record producer responses are stored.
Please mark this response as correct and/or helpful if it assisted you with your question.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2023 11:51 AM
For record producer it should be producer.variableName
Please mark my response as correct and helpful if it helped solved your question.
-Thanks