Skip to main content
Version: Next

Pallet Unbind

Introduction​

PalletUnbindActivity is a pallet unbinding node used to release the binding relationship between a pallet and a product code. Upon successful unbinding, it returns the originally bound product code.

Configuration Items​

Property NameDisplay NameTypeRequiredDefault ValueDescription
ForcedUnbindForced UnbindboolNofalseIf the pallet is not bound to a product code, unbinding will be considered successful

Business Logic​

Execution Flow​

Start
│
▼
Initialize result data items
│
▼
Get Pallet Code
│
├─► Empty → Set result=2, return
│
▼
Call Pallet Unbind Service
│
├─► Pallet does not exist → Set result=2
│
├─► Pallet not bound to product → Set result=2 (Non-forced mode)
│
└─► Unbind success → Set result=1, return product code
│
▼
End

Result Values​

Result ValueDescription
0Initial State
1Unbind Success
2Unbind Failure

Flow Data Items​

Input Data Items​

Data ItemTypeDescription
ApplicationDataProcessModelProcess Model
PalletUnbind_PalletCode_ValuestringPallet Code

Output Data Items​

Data ItemTypeDescription
PalletUnbind_Result_ValueintUnbind Result (0=Initial, 1=Success, 2=Failure)
PalletUnbind_Description_ValuestringUnbind Description
PalletUnbind_SerialNumber_ValuestringUnbound Product Code

Usage Example​

Basic Configuration​

<PalletUnbindActivity Name="Unbind Pallet">
<ForcedUnbind>false</ForcedUnbind>
</PalletUnbindActivity>

Typical Flow Configuration​

Read Pallet Code → Unbind Pallet → Get Product Code → Subsequent Processing
<VariableReadActivity Name="Read Pallet Code">
<Variable>PalletCode</Variable>
<Target>PalletUnbind_PalletCode_Value</Target>
</VariableReadActivity>

<PalletUnbindActivity Name="Unbind Pallet">
<ForcedUnbind>false</ForcedUnbind>
</PalletUnbindActivity>

<ConditionActivity Name="Unbind Result Judgment">
<Condition>Flow.DataItems["PalletUnbind_Result_Value"] == 1</Condition>
<TrueBranch>
<!-- Use unbound product code for subsequent processing -->
<VariableWriteActivity Name="Set Product Code">
<Variable>SerialNumber</Variable>
<Value>{Flow.DataItems["PalletUnbind_SerialNumber_Value"]}</Value>
</VariableWriteActivity>
</TrueBranch>
<FalseBranch>Exception Handling</FalseBranch>
</ConditionActivity>