How to have the digit check of a master catalog attribute?
book
Article ID: KB0091602
calendar_today
Updated On:
TIBCO Collaborative Information Manager
|
-
|
Not Applicable
|
-
|
Description
Resolution:
Using the below constraint in rule base file checks for minimum number of digits to 13(as an example).
<constraint>
<name>Digit Check </name>
<description>Minimun digit must be 13</description>
<usefor>
<var>attr1</var>
</usefor>
<action>
<check>
<explanation>Minimum Digits must be 13</explanation>
<match>
<var/>
<const type="string">/^\d{13}/</const>
</match>
</check>
</action>
</constraint>
Issue/Introduction
How to have the digit check of a master catalog attribute?
Feedback
thumb_up
Yes
thumb_down
No