Files
KintoneAppBuilder/sample2.json

167 lines
7.7 KiB
JSON

{
"id": "e4929dfe-32bb-448a-bd66-83c19dad9c79",
"actionNodes": [
{
"id": "06388b74-ef56-4ba2-9fba-2dbde999c34d",
"name": "app.record.create.submit",
"title": "レコード追加画面",
"subTitle": "保存をクリックしたとき",
"inputPoint": "",
"outputPoints": [],
"isRoot": true,
"actionProps": [],
"ActionValue": {},
"nextNodeIds": {
"": "5963b63a-bfea-49d0-9a8e-b57abe99e2a7"
}
},
{
"id": "5963b63a-bfea-49d0-9a8e-b57abe99e2a7",
"name": "自動採番する",
"inputPoint": "",
"outputPoints": [],
"actionProps": [
{
"component": "InputText",
"props": {
"name": "displayName",
"displayName": "表示名",
"placeholder": "表示を入力してください",
"hint": "",
"modelValue": "文書番号を自動採番する"
}
},
{
"component": "FieldInput",
"props": {
"displayName": "採番項目",
"modelValue": {},
"name": "field",
"placeholder": "採番項目を選択してください"
}
},
{
"component": "InputText",
"props": {
"displayName": "フォーマット",
"modelValue": "000000",
"name": "format",
"placeholder": "数値書式文字列を指定します"
}
},
{
"component": "InputText",
"props": {
"displayName": "前につける文字列",
"modelValue": "",
"name": "prefix",
"placeholder": "前につける文字列を入力してください"
}
},
{
"component": "InputText",
"props": {
"displayName": "後ろにつける文字列",
"modelValue": "",
"name": "suffix",
"placeholder": "後ろにつける文字列を入力してください"
}
},
{
"component": "InputText",
"props": {
"displayName": "結果(戻り値)",
"modelValue": "DocumentNo",
"name": "verName",
"placeholder": "変数名を入力してください"
}
}
],
"prevNodeId": "06388b74-ef56-4ba2-9fba-2dbde999c34d",
"nextNodeIds": {
"": "f1fb6e7c-540c-4fcc-8d30-bd22aed7f923"
}
},
{
"id": "f1fb6e7c-540c-4fcc-8d30-bd22aed7f923",
"name": "条件式",
"inputPoint": "",
"outputPoints": [
"はい",
"いいえ"
],
"actionProps": [
{
"component": "InputText",
"props": {
"name": "displayName",
"displayName": "表示名",
"placeholder": "表示を入力してください",
"hint": "",
"modelValue": "条件式を設定する"
}
},
{
"component": "ConditionInput",
"props": {
"displayName": "条件",
"modelValue": "{\"index\":0,\"type\":\"root\",\"children\":[{\"index\":1,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"ステータス\",\"objectType\":\"field\",\"type\":\"STATUS\",\"code\":\"ステータス\",\"label\":\"ステータス\",\"enabled\":true},\"operator\":\"=\",\"value\":\"作成中\"},{\"index\":2,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"name\":\"部署\",\"objectType\":\"field\",\"type\":\"DROP_DOWN\",\"code\":\"ドロップダウン\",\"label\":\"部署\",\"noLabel\":false,\"required\":false,\"options\":{\"総務\":{\"label\":\"総務\",\"index\":\"2\"},\"サポート\":{\"label\":\"サポート\",\"index\":\"3\"},\"マーケティング\":{\"label\":\"マーケティング\",\"index\":\"1\"},\"営業\":{\"label\":\"営業\",\"index\":\"0\"},\"開発\":{\"label\":\"開発\",\"index\":\"4\"}},\"defaultValue\":\"\"},\"operator\":\"!=\",\"value\":\"\"},{\"index\":4,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"objectType\":\"variable\",\"actionName\":\"自動採番する\",\"displayName\":\"結果(戻り値)\",\"name\":\"DocumentNo\"},\"operator\":\"=\",\"value\":\"\"}],\"parent\":null,\"logicalOperator\":\"AND\"}",
"name": "condition",
"placeholder": "条件式を設定してください"
}
},
{
"component": "InputText",
"props": {
"displayName": "結果(戻り値)",
"modelValue": "conditionValue",
"name": "verName",
"placeholder": "変数名を入力してください"
}
}
],
"prevNodeId": "5963b63a-bfea-49d0-9a8e-b57abe99e2a7",
"nextNodeIds": {
"いいえ": "81987177-746f-44f2-8cd5-acf52ebb83bb"
}
},
{
"id": "81987177-746f-44f2-8cd5-acf52ebb83bb",
"name": "エラー表示",
"inputPoint": "いいえ",
"outputPoints": [],
"actionProps": [
{
"component": "InputText",
"props": {
"name": "displayName",
"displayName": "表示名",
"placeholder": "表示を入力してください",
"hint": "",
"modelValue": "入力した内容が不適切な場合"
}
},
{
"component": "ConditionInput",
"props": {
"displayName": "条件",
"modelValue": "{\"index\":0,\"type\":\"root\",\"children\":[{\"index\":1,\"type\":\"condition\",\"parent\":\"root\",\"object\":{\"objectType\":\"variable\",\"actionName\":\"条件式\",\"displayName\":\"結果(戻り値)\",\"name\":\"conditionValue\"},\"operator\":\"=\",\"value\":\"いいえ\"}],\"parent\":null,\"logicalOperator\":\"AND\"}",
"name": "condition",
"placeholder": "条件を選択または入力してください"
}
},
{
"component": "MuiltInputText",
"props": {
"displayName": "エラーメッセージ",
"modelValue": "",
"name": "message",
"placeholder": "エラーメッセージを入力してください"
}
}
],
"prevNodeId": "f1fb6e7c-540c-4fcc-8d30-bd22aed7f923",
"nextNodeIds": {}
}
]
}