Skip to main content
Declined

Prevent automatic approval of subnames

Related products:Software Factory
  • November 16, 2021
  • 3 replies
  • 62 views
  • eurban
    eurban
  • Erwin Ekkel

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:

 

Did this topic help you find an answer to your question?

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23

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:


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

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.


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
NewDeclined

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings