[ { "label": "Change fulfillment location if an order contains specific items", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "5": { "field": "order.line_items.title", "settings": { "multiple": "any", "operator": "contains", "value": "[my-title]", "long_value": "", "token_object_type": "order", "condition_type": "AND" }, "weight": 10 }, "3": { "field": "order.fulfillment_orders.assigned_location_id", "settings": { "multiple": "any", "operator": "any", "value": { "8203337775": "8203337775", "36688363567": 0 }, "condition_type": "AND" }, "weight": 20 }, "4": { "field": "order.fulfillment_orders.movable_to", "settings": { "multiple": "any", "value": "36688363567", "condition_type": "AND" }, "weight": 30 } }, "actions": { "1": { "type": "trigger_child_workflow", "settings": { "target_path": "order.fulfillment_orders", "exported_workflow": { "label": "Fulfillment Order subworkflow", "trigger_type": [ "manual" ], "object_type": "fulfillment_order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "fulfillment_order.status", "settings": { "operator": "any", "value": { "open": "open" } }, "weight": 999 }, "2": { "field": "fulfillment_order.movable_to", "settings": { "multiple": "any", "value": "36688363567", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "fulfillment_order_move", "settings": { "wait": "0", "custom_wait": "", "location_id": "36688363567" }, "weight": 999, "target_key": "fulfillment_order" } } } } } } }, "weight": 40, "target_key": "order" } } } }, "shared_workflow_id": 42384 }, "description": "This workflow moves a fulfillment order from the assigned location to another available location if it contains a certain item." } ]