I am trying to created a new DB table from pega.
The steps I have followed is as below:
-
created a class rule
-
added that to data designer
-
trying to create a DB rule instance , but at test connectivity I am getting the error as table doesn’t exist .
Is there any way to create DB table directly from pega , without writing SQL in Database?
@Ankush20
You need to use the option configure local source in the data designer to create a new table automatically.
@Ankush20 Open the class from Data types explorer , click on Records tab and under it click on “Configure source” button
select or add the properties for which columns needs to be created and also select the class keys , finally click on Submit button.
This creates a table in database.