Loading TOC...


Message Text

Invalid when: variable1


The value for the "when" part of a trigger definition is not one of "pre-commit" or "post-commit". For example, trgr:trigger-data-event was called with a "when" parameter that was not created by calling trgr:post-commit or trgr:pre-commit.


Correct your code. For details, see "Using Triggers to Spawn Actions" in the Application Developer's Guide.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.