Personnalisation avancée > Business Logic Customization > Data Exchange using Standards in Windchill > STEP Data Exchange using EXPRESS > AP242 XPX Mapping Guide > Mapping Table for Import of AP242 (non-Windchill data) to Windchill EXPRESS Entities > ExpressionData (creating expression JSON from condition entity)
  
ExpressionData (creating expression JSON from condition entity)
ExpressionData Mapping Table
BOM
Windchill
Condition entity
ExpressionData attribute
Condition.type=andi.e ANDConditionANDCondition.parameters= operands of this AND operator.
Get UniqueMemberIdsof operand choices and add a AND operator (+ sign) in between them and add it to expression string
Condition.type=ori.e ORConditionORCondition.parameters= operands of this OR operator.
Get UniqueMemberIdsof operand choices and add a OR operator (/ sign) in between them and add it to expression string
Condition.type=noti.e NOTConditionNOTCondition.parameters= operands of this NOT operator.
Get UniqueMemberIdsof operand choices and add a NOT operator (-sign) in between them and add it to expression string
Condition.type=equalsi.e EQUALSConditionEQUALSCondition.parameters= Specification representing the single choice.
IF expressionData Contains a single Choice Just add the uniqueMemberId of the choice to expression string
Expression json='{"expression":"EXP1","members":[{"expression":"'+expression String+'","description":"","id":"EXP1"}]}'
Part 21 Representation
#1133= ORCONDITION($,$,$,*,(#1132,#600),$);
#1134= ANDCONDITION(#1143,CHARACTERSTRING(' ((null))'),(#1141),*,(#1133,#702),$);
#1218= ANDCONDITION($,$,$,*,(#1178,#736),$);
#1224= NOTCONDITION($,$,$,*,(#1180),$);
#1225= ORCONDITION(#1229,CHARACTERSTRING('1621847369'),$,*,(#1224,#600),$);