Prevent automatic approval of subnames

Related products: Software Factory

I am the only Thinkwise developer in the company, so when there is a new sub name, I dont want to approve each sub name.

Just like the ‘Code review required’ setting it would be nice if there is a same setting for the approvement of sub names:

 

Hi PatrickW,

For while this is not implemented, you can do this by adding a new Dynamic model procedure and using the following code:

update sub_name 
set sub_name_status = 1, -- approved
update_user = dbo.tsf_user(),
update_date_time = sysdatetime()
where sub_name_status <> 1 -- Not approved

Then every time you Generate definitions, all sub names will be approved in case they haven't been approved yet:grin:


Thank you for your contribution by submitting this idea. Unfortunately, the suggested idea does not align with our vision, and will therefore not be implemented in the Thinkwise Platform.

The sub names feature is not only provided for review purposes, but also to detect inconsistencies in your own naming conventions. A grammatical error or inconsistency is easily missed, which is prevented by using sub names and its corresponding validations.

If you still desire not to use this feature, which we do not advice, the script that Mark provided you should suffice.


NewDeclined