Skip to Content

Powerdesigner Business Process Model entity/attribute missing mapping breakdown

Sep 07, 2017 at 02:51 PM


avatar image

I've imported entity data from a Logical model into a BPM. It has created a list of entities and associated attributes. Some attributes exist in multiple entities e.g. address. These attributes appear as Address1, Address2, Address3 etc. I want to add specific attributes from an entity to a data flow. However, I cannot tell what entity the address attribute belongs to this. It there a way I can see the entity related to the attribute? Or even get a list of attributes for an entity when adding to a flow?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

George McGeachie Sep 08, 2017 at 12:20 PM

In a BPM, Data objects can be either 'elementary' or 'structured'; 'structured data' can contain other data, including other structured data. A Data object can be included in as many structured data objects as you need them to - a structured data object does not 'own' the data objects it contains, it merely groups them together; it's a container object, not a parent object.

There is a way of showing the container data in a list of Data Objects - create an Extended Attribute that shoows you the Data Objects that contain a Data Object.

In a model extension, create a new computed Extended Attribute, such as this one called "Contained In":

Here's an example of what it can produce:

When you're looking at a list of Data objects to add to a Data Flow, customise the list to show this property.

zxsmb.png (12.8 kB)
rmvny.png (11.3 kB)
s5g7m.png (3.2 kB)
the-script.jpg (40.8 kB)
the-script.jpg (40.8 kB)
an-example.jpg (11.0 kB)
10 |10000 characters needed characters left characters exceeded
Don Parker Sep 09, 2017 at 05:23 AM

George, ow do I get to the "In a model extension" in your example? I can't find how to do this.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
An extension is a type of model object, which you can see listed in the Browser or via the Model menu. An extension can be embedded in the model, or can be a link to an external file, such as the extension that allows you to import from Excel files.

Add an extension in the same way as any other object, using the browser or a list of extensions. In the extension, right-click 'Profile', select 'add metaclasses', then select 'Data'. Right-click 'Data' in the extension contents (see my earlier screen shots), and select 'New', then 'Extended Attribute'.

Check the document 'Customising and Extending PowerDesigner' for more information - you can access this via the Help menu, as a PDF file or in the HTML help.