# Troubleshooting

## Campaign doesn't activate

#### **Check:**

* ✅ Time period is correct (including time of day if set)
* ✅ Products are added as qualified
* ✅ Customer group matches if this is set
* ✅ Order lines are not confirmed

#### **How to fix:**

1. Open the campaign
2. Verify "Valid from" and "Valid to" dates include today
3. Check "Qualified products" list matches the products in the order
4. If using customer groups, confirm the customer is in that group
5. If lines are confirmed, delete and re-add them

## Wrong discount calculated

#### **Possible causes:**

* Another campaign is more beneficial (system auto-selects best)
* Minimum amount or quantity not reached
* Products added in wrong order

#### **How to fix:**

1. Check if another campaign is active on the same products
2. Verify minimum rules are met
3. Try removing and re-adding products in the correct order

## Campaign disappears from order

#### **Causes:**

* Line was confirmed then deleted - must be re-added
* Another campaign became more beneficial
* Campaign time period ended

#### **How to fix:**

1. Check if campaign is still active
2. Delete the line and add it again (don't confirm)
3. Review if another campaign is taking priority

## Can't save campaign

#### **Common validation errors:**

* Required fields missing (name, discount type, dates)
* Invalid date range (end before start)
* Invalid field combination (see Rules & Combinations)

**How to fix:** Check the error message for the specific field causing issues.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowretail.com/docs/extensions-addons/campaign/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
