Skip to main content

Test and publish

Test​

  1. Click Test in the editor.
  2. If there are unsaved changes, the editor asks "Save and test?". The test always uses the saved draft. Confirm with Save and test.
  3. The Test run (nothing is saved) runs in the side panel. It behaves like a real run: questions are shown and hidden, required questions are checked, buttons, back and objections work.
  4. No run, no answers and no field changes are created. Placeholders stay empty except {agent}, because no opportunity or contact is attached.
  5. End the test with Close.

Clicking Test again starts the test from the beginning.

Publishing and versions​

Publish​

  1. Check the list Check before publishing. It must show "No problems found."
  2. Click Publish. Unsaved changes are saved first.
  3. If there are problems, "The version cannot be published:" appears with a list. Fix the points and publish again.
  4. On success, "The version has been published." appears. The version is now Published and can no longer be changed. The previously published version becomes Old.

Change a published script​

  1. Open the script.
  2. Click Edit flow. If there is no draft yet, Odoo creates one as a copy of the published version with the next number. If a draft exists, it opens.
  3. Edit, test and publish the draft as above.

What happens to running calls and history​

  • New runs always start with the currently published version.
  • A run stays with the version it started with. A call in progress is therefore not affected by publishing.
  • Stored answers keep the key and question text of the version they were given in.
  • Old versions are kept. The objection report shows objections with their version number.

Archive and delete​

  • A script that has ever been published cannot be deleted. Archive it instead.
  • The company of such a script can no longer be changed.
  • An archived script can no longer be started during a call.