Flowable 6.6.0 BPMN 사용자 가이드 - 9 폼 - 9.1 폼 정의

《 Flowable 6.6.0 BPMN 사용자 매 뉴 얼 》
1. 입문
2. 설정
3 The Flowable API
4 Flowable 6.6.0 BPMN 사용자 가이드 - (4) Spring 집성
5 Spring Boot
6 배치
7 BPMN 2.0 안내
8 BPMN 2.0 의 구조
9 양식 (양식)
9.1 폼 정의 9.2 폼 속성 9.3 외부 폼 렌 더 링 (External form rendering)
Flowable 에 관 한 더 많은 문서, 참조:
《 Flowable 문서 대전 》
9 양식 (양식)
Flowable provides a convenient and flexible way to add forms for the manual steps of your business processes. We support two strategies to work with forms: Built-in form rendering with a form definition (created with the form designer) and external form rendering. For the external form rendering strategy form properties can be used (that was supported in the Explorer web application in version 5), or a form key definition that points to an external form reference that can be resolved with custom coding.
Flowable 은 업무 절차 의 수 동 절차 에 폼 을 추가 하 는 데 편리 하고 유연 한 방식 을 제공 합 니 다. 폼 을 처리 하 는 두 가지 정책 을 지원 합 니 다. 폼 정의 가 있 는 내 장 된 폼 표시 (폼 디자이너 로 만 들 기) 와 외부 폼 표시. 외부 폼 표시 정책 에 대해 서 는 폼 속성 (버 전 5 의 Explorer 웹 응용 프로그램 에서 지원) 을 사용 할 수 있 습 니 다.또한 폼 키 정의 (formkey definition) 를 사용 할 수 있 습 니 다. 폼 키 는 사용자 정의 인 코딩 으로 해석 할 수 있 는 외부 폼 참조 (external form reference) 를 가리 키 고 있 습 니 다.
9.1 폼 정의
Full information about the form definitions and Flowable form engine can be found in the Form Engine user guide. Form definitions can be created with the Flowable Form Designer that’s part of the Flowable Modeler web application, or created by hand with a JSON editor. The Form Engine user guide describes the structure of the form definition JSON in full length. The following form field types are supported:
폼 정의 와 Flowable 폼 엔진 에 대한 전체 정 보 는 폼 엔진 사용자 안내서 (Form Engine user guide) 에서 찾 을 수 있 습 니 다. 폼 정 의 는 Flowable 폼 디자이너 (Flowable Form Designer) 를 사용 하여 만 들 수 있 습 니 다 (Flowable Form Designer 는 Flowable Modeler 웹 응용 프로그램의 일부분 입 니 다).JSON 편집기 로 직접 만 들 수도 있 습 니 다. 폼 엔진 사용자 매 뉴 얼 은 폼 정의 JSON 의 구 조 를 완전 하 게 설명 합 니 다. 다음 폼 필드 형식 을 지원 합 니 다.
  • Text: rendered as a text field
  • Multiline text: rendered as a text area field
  • Number: rendered as a text field, but only allows numeric values
  • Checkbox: rendered as a checkbox field
  • Date: rendered as a date field
  • Dropdown: rendered as a select field with the option values configured in the field definition
  • Radio buttons: rendered as a radio field with the option values configured in the field definition
  • People: rendered as a select field where a person from the Identity user table can be selected
  • Group of people: rendered as a select field where a group from the Identity group table can be selected
  • Upload: rendered as an upload field
  • Expression: rendered as a label and allows you to use JUEL expressions to use variables and/or other dynamic values in the label text
  • 텍스트 (Text): 텍스트 필드 로 표시
  • 여러 줄 텍스트 (Multiline text): 텍스트 영역 필드 로 나타 납 니 다
  • 숫자 (Number): 텍스트 필드 로 표시 되 지만 수치 만 허용 합 니 다
  • 콤 보 상자 (Checkbox): 콤 보 상자 필드 로 표시
  • 날짜 (날짜): 날짜 필드 로 표시
  • 드 롭 다운 목록 (Dropdown): 필드 정의 에 옵션 값 이 설정 되 어 있 는 선택 필드 로 표 시 됩 니 다
  • 단일 선택 단추 (Radio buttons): 단일 선택 필드 로 나타 나 필드 정의 에 옵션 값
  • 을 설정 하 였 습 니 다.
  • 인원 (People): 하나의 선택 필드 로 나타 나 고 Identity 사용자 표 에서 인원 을 선택 할 수 있 습 니 다
  • 인원 그룹 (Group of people): 하나의 선택 필드 로 나타 나 며 Identity 그룹 표 에서 한 그룹
  • 을 선택 할 수 있 습 니 다.
  • 업로드 (Upload): 업로드 필드
  • 로 나타 납 니 다.
  • 표현 식 (Expression): 탭 으로 표 시 됩 니 다. 탭 텍스트 에서 JUEL 표현 식 을 사용 하고 변수 와 / 또는 다른 동적 값
  • 을 사용 할 수 있 습 니 다.
    The Flowable task application is able to render an html form from the form definition JSON. You can also use the Flowable API to get the form definition JSON yourself. FormModel RuntimeService.getStartFormModel(String processDefinitionId, String processInstanceId) or FormModel TaskService.getTaskFormModel(String taskId) The FormModel object is a Java object representation of the form definition JSON.
    Flowable 작업 프로그램 은 폼 정의 JSON 을 기반 으로 html 폼 을 렌 더 링 할 수 있 습 니 다. Flowable API 를 사용 하여 폼 정의 JSON 을 직접 가 져 올 수도 있 습 니 다.
    FormModel RuntimeService.getStartFormModel(String processDefinitionId, String processInstanceId)
    

    혹시
    FormModel TaskService.getTaskFormModel(String taskId)
    

    FormModel 대상 은 폼 정의 JSON 의 자바 대상 표시 입 니 다.
    To start a process instance with a start form definition you can use the following API call:
    시작 폼 을 통 해 시작 프로 세 스 인 스 턴 스 를 정의 하려 면 다음 API 호출 을 사용 할 수 있 습 니 다.
    ProcessInstance RuntimeService.startProcessInstanceWithForm(String processDefinitionId, String outcome,
        Map<String, Object> variables, String processInstanceName)
    

    When a form definition is defined on (one of) the start event(s) of a process definition, this method can be used to start a process instance with the values filled-in in the start form. The Flowable task application uses this method to start a process instance with a form as well. All form values need to be passed in the variables map and an optional form outcome string and process instance name can be provided.
    프로 세 스 가 정의 하 는 시작 이벤트 (그 중 하나) 에서 폼 정 의 를 정의 할 때 이 방법 으로 프로 세 스 인 스 턴 스 를 시작 할 수 있 습 니 다. (시작 폼 에 입력 한 값 포함) Flowable 작업 프로그램 도 이 방법 을 사용 하여 폼 을 통 해 프로 세 스 인 스 턴 스 를 시작 합 니 다. 모든 폼 값 은 변 수 를 통 해 매 핑 (variables map) 해 야 합 니 다.전달 하고 선택 할 수 있 는 폼 결과 문자열 과 프로 세 스 인 스 턴 스 이름 을 제공 합 니 다.
    In a similar way, a user task can be completed with a form using the following API call:
    유사 하 게 다음 API 호출 을 사용 하면 폼 을 통 해 사용자 작업 을 수행 할 수 있 습 니 다.
    void TaskService.completeTaskWithForm(String taskId, String formDefinitionId,
        String outcome, Map<String, Object> variables)
    

    Again, for more information about form definitions have a look at the Form Engine user guide.
    또한, 폼 정의 에 관 한 더 많은 정 보 는 폼 엔진 사용자 가이드 (Form Engine user guide.) 를 참조 하 시기 바 랍 니 다.

    좋은 웹페이지 즐겨찾기