赞
踩
通过正则表达式提取器,将上一个请求(A请求)响应数据中的整段内容提取,传给下一个需要该提取数据的请求(B请求)。
1. 请求接口响应结果
2. 添加正则表达式提取器
设置变量名为“tt”,正则表达式如下:(提取从"WORKFLOW_CALLBACK_DATA"到"3526115983220169634"的中间内容)
"WORKFLOW_CALLBACK_DATA":."(.*)":"3526115983220169634"
3. 通过【调试后置处理程序】查看提取内容
tt=owner":"","bizTitle":"合同登记-CM2023-00067-非采购验收20230413-185202","parentTaskId":"","roleId":"","dueDate":"","procInstId":"3526115983218072468","priority":50,"procDefId":"HTDJwdyjx:1:3524984799171860511","isDone":"","executionId":"3526115983218072477","createTime":"2023-04-13 18:52:04","name":"签订","businessKey":"E813897236FA46FA936A68A9A68C62B8","roleName":"","assignee":"cm01","state":"001","nodeId":"sid-82356C65-298E-4B63-A373-88C0EFA5E839","taskId
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。