Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6464 Lượt xem

there is undocumented variable Warning ( Extend from standard Exception) available in python code in automated actions, use the following sample code, we can use automated action to do customized input data validation, very handy!

if object.name == '33':

    raise Warning('validation fail')

This is very handy for key user / end users to customize validation rule without touching the source code, especially useful for client running on SAAS .

 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

as this is a post for sharing, so I close this myself.
 

Ảnh đại diện
Huỷ bỏ