分享:automated action 可做资料校验 validation!
-
经测试可以automated action 中写这样的Python语句对新创建或变更的资料进行有效性检查,实现自定义validation的功能!
这个Warning是界面文档上没有提到的可用内部异常变量!
if object.name == '33':
raise Warning('validation fail')
p.s
要是能再整合业务规则BRM之类的就更好了。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login