creating a foreign key llink with the default User table of bonita

Hello,

I am creating a BDM and would like to reference the User model in another table. The Bonita studio BDM editor doesn't give me the option to choose "User" as attribute type.

How could I link the object to a specific user ?

For example : I would like to create a user preferences table that contains specific website configuration for the user in hand.

Could you, please, lead me in the correct direction to achieve this point?

Thank you for your assistance.

Hi,

Bonita and BDM databases are separated database. You can store the userId as Long in your BDM to retrieve it. The user is can be retrieved in the UI Designer using the system API in an External API variable.

User can also have Custom User Information attached to them in the Bonita User model.

HTH
Romain