Many to Many Related List opens m2m form view in the workspace

Surya S
Tera Contributor

I created a many-to-many relationship between a custom table and the incident table and added it as a related list on the incident form.

 

When I open the incident form in the workspace, and in the related records of that custom table, if I select 'New', it is opening the m2m form view. However, the requirement is to open the custom table's form view instead.

 

This is happening only in workspace if I do the same in fulfillment view (native UI) it is working as expected.

 

1 REPLY 1

Haseeb-Ahmed
ServiceNow Employee
ServiceNow Employee

Hi @Surya S ,

1. This is working as expected as the New button is acting on m2m table itself.

2. For your use case you may use Declarative action, you may refer Create Outage action shipped OOTB(Outage RL is based on m2m table, and Create Outage action creates new outage record)

refer screen shot

Screenshot 2024-09-11 at 4.10.05 PM.png

I am assuming that you are aware of how to add an UI action/Declarative action on incident in SOW

 

Please accept solution and mark it helpful if it answers your query.

Thanks,
Haseeb Ahmed