You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

BUI EXtension: link child(task) to parent(Incident)

Accepted answer
18
Views
1
Comments
edited Jun 13, 2022 4:13AM in General Technical Discussions 1 comment

Summary

Need some help with linking task workgroupentity to parent incident

Content

Hi,

We have an addin in place to open an new task workpace in a workgroup from the parent(incident) wokspace.

The task workspace is displayed correctly but the id of the parent incident is not set in the task so there is no relation.

Can anyone tell me how to create a parent child relationship in this case?

The following code is in place:

ORACLE_SERVICE_CLOUD.extension_loader.load(myAppId).then(function (extensionProvider) {
        extensionProvider.registerWorkspaceExtension(function (worksapceRecord) {
            worksapceRecord.editWorkspaceRecord('Incident', incidentId).then(function (incWorkspaceRecord) {
                incWorkspaceRecord.getWorkGroupContext().then(function (workgroupContext) {

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!