cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Check in of WTPart should fail from workspace is a attribute is missing

Durga
12-Amethyst

Check in of WTPart should fail from workspace is a attribute is missing

Hi All,

Trying to achieve Check in of WTPart should fail from workspace is a attribute is missing.

Made the attribute required in Type & attribute however still it gets checked-in from workspace.

Any reference what needs to be done.

Thanks in advance

 

4 REPLIES 4
joe_morton
14-Alexandrite
(To:Durga)

Do you have any other constraints enabled for the attribute, besides Required? 

Perhaps the user is checking in with putting a space or some other empty character?

Durga
12-Amethyst
(To:joe_morton)

I've applied cascading on WTPart so the, by default the attribute is selected as undefined.

Guess that could be the reason it checks in.

bmr
17-Peridot
17-Peridot
(To:Durga)

This is an OOTB "feature". The workspace checkin will not check the required attributes. This is good for engineers to work fast but bad for the quality 😉

I would suggest to implement the attribute business rule to check the values before releasing the WTPart.

Durga
12-Amethyst
(To:bmr)

This is a good idea.

 

Announcements