<<Back
Validations
·
Stops
form to submit
·
There
are two types of validation rule are available
1) Validate
2) Edit Validate
Validate:
·
It
is an instance of class Rule-Obj-Validate.
·
It
can be created under Process Category.
·
It
is used to validate multiple properties.
·
If
the validation fails we can display error message back to the properties.
·
It
can be called under the validation of Flow Action rule form.
·
It
validate the properties of a specific flow action on which we call it.
·
This
is a server side validation.
·
This
called from
1) Flow Action
2) Activity using the method
Obj-Validate
Edit Validate:
·
It
is an instance of class Rule-Edit-Validate.
·
It
can be created under Data Model Category.
·
It
is used to validate single property.
·
If
the validation fails we can display error message back to the property.
·
It
can be called under the Advanced Tab of Property rule Form.
·
Wherever
we use the property (throughout our application) it validates.
·
This
is a client side validation.
·
This
called from
1) Property
2) Activity using the method
Property-Validate
·
Here
we need to write JAVA code.
·
PRPC
property value will be assigned to a Java Variable called “theValue”.
·
Java
code which we are implementing for validation purpose should be written based
on ‘theValue’.
Differences
Between rule Obj Validate and Rule Edit Validate Obj Validate Edit Validate
We can validate Multiple Properties.
|
Can validate Only one property
|
It is specific to Flow action.
|
Where ever we use property it
validates.
|
Server side Validation.
|
Client Side Validation.
|
We can use functions.
|
We need to write Java Code.
|
No comments:
Post a Comment