Stage:Caller Information
Set Variable: Prefix to DUR_C
Set Variable: SPID to Current Item:ID
Update item in Current Item
Log New Complaint to the workflow history list
Email Email address
Log Contact Client to the workflow history list
Transition to stage
Go to Contact Client
Stage:Contact Client
Wait for Event: When an item is changed (Output to Variable: related item8 )
Step: Email for Site Visit
If Current Item:Duraco_Status equals Site Visit Planned
Email Email address
Log Site Visit to the workflow history list
Step: Email for To Be Replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Product Recuperation to the workflow history list
Step: Email for To be Repaired At Factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Product Recuperation to the workflow history list
Step: Email for Product Brought at Factory
If Current Item:Duraco_Status equals Product Brought at Factory
Email Email address
Log Factory Repair to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals Site Visit Planned
Go to Site Visit
Else
If Current Item:Duraco_Status equals To be Replaced
or Current Item:Duraco_Status equals To be Repaired at Factory
Go to Product Recuperation
Else
If Current Item:Duraco_Status equals Product Brought at Factory
Go to Factory Repair
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Contact Client
Stage:Site Visit
Wait for Event: When an item is changed (Output to Variable: related item1 )
Step: Email To Be Repaired On Site
If Current Item:Duraco_Status equals To be Repaired on Site
Email Email address
Log Site Repair to the workflow history list
Step: Email To Be Replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Product Recuperation to the workflow history list
Step: Email To be Repaired at Factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Product Recuperation to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals To be Repaired on Site
Go to Site Repair
Else
If Current Item:Duraco_Status equals To be Replaced
or Current Item:Duraco_Status equals To be Repaired at Factory
Go to Product Recuperation
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Site Visit
Stage:Site Repair
Wait for Event: When an item is changed (Output to Variable: related item2 )
Step: Email To be Replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Product Recuperation to the workflow history list
Step: To be Repaired at Factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Product Recuperation to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals To be Replaced
or Current Item:Duraco_Status equals To be Repaired at Factory
Go to Product Recuperation
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Site Repair
Stage:Product Recuperation
Wait for Event: When an item is changed (Output to Variable: related item6 )
Step: Email Store
If Current Item:Duraco_Status equals Go to Store
Email Email address
Log Go to Store to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals Go to Store
Go to Store
Else
Go to Product Recuperation
Stage:Store
Wait for Event: When an item is changed (Output to Variable: related item10 )
Step: Email to be repaired at factory
If Current Item:Duraco_Status equals To be Repaired at Factory
Email Email address
Log Factory Repair to the workflow history list
Step: Email To be replaced
If Current Item:Duraco_Status equals To be Replaced
Email Email address
Log Delivery to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals To be Repaired at Factory
Go to Factory Repair
Else
If Current Item:Duraco_Status equals To be Replaced
Go to Delivery
Else
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Store
Stage:Factory Repair
Wait for Event: When an item is changed (Output to Variable: related item7 )
Step: Email Ready for Delivery
If Current Item:Duraco_Status equals Ready for Delivery
Email Email address
Log Delivery to the workflow history list
Transition to stage
If Current Item:Duraco_Status equals Ready for Delivery
Go to Delivery
Else
Go to Factory Repair
Stage:Delivery
Wait for Event: When an item is changed (Output to Variable: related item9 )
Transition to stage
If Current Item:Duraco_Status equals Resolved
Go to Resolved
Else
Go to Delivery
Stage:Resolved
Log Resolved to the workflow history list
Transition to stage
Go to End of Workflow