View without a primary key

Hi,

I am creating a view with union of two tables so this view doesn't have a primary key.

When i create CDT , appian creates a primary key and it says that a_id does not exist with the database . 

Do you know how to resolve this situation ?

 

These are my plan

1) Add a_id to the view . This i have to do some research. 

any ideas will help 

  Discussion posts and replies are publicly visible