Add records to related list in workspace with related list action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 04:52 PM
Hi All,
I'm having issues adding records to three separate related list in the audit workspace.
The requirement is adding observation records in the observation related list on the following records:
Engagement - (This is working)
*Issue - Unable to add observation records
*Evidence Request - Unable to add observation records
*Walkthrough - Unable to add observation records
If a record does appear in either of the popups, and I select the record and click 'Add', the record does not appear in the related list and the same record is no longer visible for selection in the popup.
I created a related list action, and the same button appears in all 4 places. How would I go about fixing this? Any help is appreciated!!!
{
"container": {
"fields": {
"container": {
"columns": {
"binding": {
"address": [
"columns"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"extensionPoint": {
"binding": {
"address": [
"extensionPoint"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"hideSelectAll": {
"binding": {
"address": [
"hideSelectAll"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"label": {
"binding": {
"address": [
"label"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"parentFieldName": {
"binding": {
"address": [
"parentFieldName"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"parentRecordSysId": {
"binding": {
"address": [
"parentRecordSysId"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"referencedFieldName": {
"binding": {
"address": [
"referencedFieldName"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"relatedListName": {
"binding": {
"address": [
"relatedListName"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"table": {
"binding": {
"address": [
"table"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"userGivenTable": {
"binding": {
"address": [
"userGivenTable"
]
},
"type": "EVENT_PAYLOAD_BINDING"
},
"view": {
"binding": {
"address": [
"view"
]
},
"type": "EVENT_PAYLOAD_BINDING"
}
},
"type": "MAP_CONTAINER"
},
"params": {
"container": {
"type": {
"binding": {
"address": [
"type"
]
},
"type": "EVENT_PAYLOAD_BINDING"
}
},
"type": "MAP_CONTAINER"
},
"route": {
"type": "JSON_LITERAL",
"value": "mra"
},
"size": {
"type": "JSON_LITERAL",
"value": "lg"
}
},
"type": "MAP_CONTAINER"
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 05:12 AM
Issues relate to Observations OOTB via a 1-to-Many relationship (basically there is an issue field on the observation that gets populated). Ideally you go via the observation's workflow to link it to an issue
For evidence request you have to populate the below table with a record to relate evidence to an observation
sn_grc_advanced_m2m_evidence_for_evidence_response
I would suggest looking at the add evidence button on the Control test record.
Walkthroughs allows you to create observations OOTB but the relationship type is 1-to-Many. OOTB it doesnt support one Observation covering multiple evidence requests.
For linking multiple observation to many issues or walkthroughs you will need to create m2m relationship tables and then create the add actions on those m2m tables. I would refer to some of the OOTB add declarative actions like those on control objective to entity on how to configure those.