curl --location --request GET '/v7/workflow/approval_defines/'{
"data": {
"created_by": {
"avatar": "string",
"company_id": "string",
"id": "string",
"name": "string",
"type": "user"
},
"ctime": "string",
"form_designs": [
{
"form_options": [
{
"key": "string",
"value": "string"
}
],
"id": "string",
"placeholder": "string",
"required": true,
"title": "string",
"type": "text_type_input"
}
],
"group_id": "string",
"icon": "tmp1",
"id": "string",
"name": "string",
"process_define": {
"nodes": [
{
"child_nodes": [
"string"
],
"condition_groups": [
{
"conditions": [
{
"custom_data_rule": "string",
"form_id": "string",
"rule": "belongs",
"type": "text_type_input",
"value": "string"
}
]
}
],
"id": "string",
"name": "string",
"next_node_id": "string",
"task": {
"task_approve": {
"approval_rule": "step",
"select_type": "single_choice",
"target": {
"level": 0,
"select_ranges": [
{
"select_type": "user",
"select_value": "string"
}
],
"user_group_ids": [
"string"
],
"user_ids": [
"string"
],
"user_type": "optional"
},
"user_empty_policy": "transfer_to_admin"
},
"task_cc": {
"is_allow_add_cc": true,
"target": {
"level": 0,
"select_ranges": [
{
"select_type": "user",
"select_value": "string"
}
],
"user_group_ids": [
"string"
],
"user_ids": [
"string"
],
"user_type": "optional"
}
},
"type": "approval"
},
"type": "sequence"
}
],
"root": "string"
},
"visible_scopes": [
{
"company_id": "string",
"is_admin": true,
"scope_id": "string",
"scope_type": "company"
}
]
},
"code": 0,
"more": {},
"msg": "string"
}