Send previous control to client

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • Provide the ability to send previous control to client.

    There are two ways to send previous control back from the server when a client requests:
    • In inbound transformation, set validation_message in result. Previous control will be sent again with message provided in validation_message.
    • In inbound transformer, set send_prev_control in result to true, previous control will be sent again. Use this method for Multi-Step controls.
    Example script:
    (function execute (inputs, outputs) {
      var result = {};
      var request_context = inputs.request_context;
      var typed_value = request_context ['typed_value'];
      if (typed_value.index0f("#") > -1)
        result["validation_message"] = "Invalid character, please don't enter special character '#'";
      result["value"] = typed_value;
      result["search_text"] = "";
      outputs.result - result;
    })(inputs, outputs);