Flowable 6.6.0 BPMN 사용자 가이드 - 9 폼 - 9.1 폼 정의
6415 단어 Flowable6.6.0BPMN 사용자 가이드-9-11
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 의 구 조 를 완전 하 게 설명 합 니 다. 다음 폼 필드 형식 을 지원 합 니 다.
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.) 를 참조 하 시기 바 랍 니 다.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
Flowable 6.6.0 BPMN 사용자 가이드 - 9 폼 - 9.1 폼 정의외부 폼 표시 정책 에 대해 서 는 폼 속성 (버 전 5 의 Explorer 웹 응용 프로그램 에서 지원) 을 사용 할 수 있 습 니 다.또한 폼 키 정의 (formkey definition) 를 사용 할 수 있 습...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.