@cognigy/rest-api-client
Version:
Cognigy REST-Client
8 lines • 344 B
JavaScript
export function resetNodeState(api, nodeId) {
api.setLastExecutionMarker(nodeId, -1);
api.resetExecutionAmount(nodeId);
api.deleteSystemContext('activeQuestion');
api.deleteSystemContext('reconfirmationQuestionInProgress');
api.deleteSystemContext('reconfirmationQuestionInput');
}
//# sourceMappingURL=resetNodeState.js.map