使用HTTP节点
参考图片1
url : $(taskEngineUrl)/restful/standard/taskengine/api/project/create
POST
请求参数处理脚本最后return的格式及范例如下
{
"projectCode": "Jerry20230504_lcdp_mainline_project_0006", //项目代号
"process_EOC": {}, //运营单元
"variables": { //项目变量 , 如果有其他初始变量也可以写在里面
"personInCharge": "lilliancheng@digiwin.com" //项目当责者
},
"dispatchData": [{ //data变量
"offer": "10000",
"emp_no": "00100",
"attribution_employee_name": {
"name": "张三",
"id": "001"
},
"name": "AAA",
"id": "00100",
"user_data_detail": [
{
"test": "xxxxxxxx",
"id": "001"
},
{
"test": "xxxxxxxx",
"id": "002"
}
],
"department": "行销",
"create_date": "2023-10-06"
}],
"requesterId": "Athena", //项目发起者
"locale": "zh_TW" //语系
} |