@cognigy/rest-api-client
Version:
Cognigy REST-Client
13 lines • 559 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.questionHandover = void 0;
function questionHandover({ api, nodeId, resolveBehavior, input, }) {
api.setNextNode(nodeId);
api.setSystemContext(`lastEscalation-${nodeId}`, input.execution);
api.setSystemContext(`question-handover-${nodeId}`, {
resetEntrypoint: resolveBehavior === "resetEntrypoint"
});
api.setLastExecutionMarker(nodeId, input.execution);
}
exports.questionHandover = questionHandover;
//# sourceMappingURL=questionHandover.js.map