Test and publish
Test
- Click Test in the editor.
- If there are unsaved changes, the editor asks "Save and test?". The test always uses the saved draft. Confirm with Save and test.
- 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.
- No run, no answers and no field changes are created. Placeholders stay empty except
{agent}, because no opportunity or contact is attached. - End the test with Close.
Clicking Test again starts the test from the beginning.
Publishing and versions
Publish
- Check the list Check before publishing. It must show "No problems found."
- Click Publish. Unsaved changes are saved first.
- If there are problems, "The version cannot be published:" appears with a list. Fix the points and publish again.
- 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
- Open the script.
- 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.
- 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.