123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- {
- "basic_info": {
- "name": "测试工作流001",
- "description": "测试工作流描述"
- },
- "notice_info": {
- "title_template": "{title}",
- "content_template": "你有一个待办工单:{titile}",
- "notice_id_list": [1,2]
- },
- "field_info_list": [
- {
- "default_value": "备注内容",
- "field_type": "text",
- "placeholder": "备注信息",
- "field_key": "comment",
- "field_name": "备注",
- "label": "label content"
- }
- ],
- "node_info_list": [
- {
- "distribute_type": "direct",
- "participant_type": "none",
- "remember_last_participant": false,
- "name": "发起人新建中",
- "allow_retreat": false,
- "participant": "",
- "f_id": "f_1",
- "type": "start",
- "node_field_info_list": [
- {
- "field_key": "comment",
- "field_attr": "rwm"
- },
- {
- "field_key": "title",
- "field_attr": "rwm"
- }
- ],
- "props": {}
- },{
- "distribute_type": "direct",
- "participant_type": "personal",
- "remember_last_participant": false,
- "name": "TL审批中",
- "allow_retreat": false,
- "participant": "1",
- "f_id": "f_2",
- "type": "common",
- "node_field_info_list": [
- {
- "field_key": "comment",
- "field_attr": "r"
- },{
- "field_key": "title",
- "field_attr": "r"
- },{
- "field_key": "created_at",
- "field_attr": "r"
- },{
- "field_key": "creator.alias",
- "field_attr": "r"
- }
- ],
- "node_field": {"comment": "r", "title": "r", "created_at": "r", "creator.alias": "r"},
- "props": {}
- },{
- "distribute_type": "direct",
- "participant_type": "personal",
- "remember_last_participant": false,
- "name": "结束",
- "allow_retreat": false,
- "participant": "",
- "f_id": "f_3",
- "type": "end",
- "node_field_info_list": [
- {
- "field_key": "comment",
- "field_attr": "r"
- },{
- "field_key": "title",
- "field_attr": "r"
- },{
- "field_key": "created_at",
- "field_attr": "r"
- },{
- "field_key": "creator.alias",
- "field_attr": "r"
- }
- ],
- "props": {}
- }
- ],
- "transition_info_list": [
- {
- "source_node_f_id": "f_1",
- "condition_expression": {},
- "field_require_check": true,
- "name": "新建",
- "destination_node_f_id": "f_2",
- "type": "accept",
- "alert_text": "",
- "props": {}
- },
- {
- "source_node_f_id": "f_2",
- "condition_expression": {},
- "field_require_check": true,
- "name": "同意",
- "destination_node_f_id": "f_3",
- "type": "accept",
- "alert_text": "",
- "props": {}
- }
- ],
- "permission_info": {
- "admin_id_list": [
- 1
- ]
- },
- "hook_info_list":[]
- }
|