试下集成自动化呢,在B表编辑成功的时候,先获取B表编辑后的值,然后再获取A表数据(注意配置条件),最后用更新节点,将A表的关联表单值更新掉
例如:
其中关联表单组件值更新公式如下:
{
"text":"CONCATENATE(\"[{\\\"appType\\\": \\\"APP_ZKHUKENQA7F8PDHLJ7LI\\\", \\\"formUuid\\\": \\\"\",表单唯一标识(formUuid), \"\\\", \\\"formType\\\": \\\"receipt\\\", \\\"instanceId\\\": \\\"\", 表单实例ID, \"\\\", \\\"title\\\": \\\"\",获取编辑后数据.单行文本, \"\\\", \\\"subTitle\\\": \\\"\",获取编辑后数据.单行文本, \"\\\"}]\")","marks":[{
"from":{
"line":0,"ch":76,"sticky":null},"to":{
"line":0,"ch":94,"sticky":null},"value":"__masterdata_form_uuid","invalid":false},{
"from":{
"line":0,"ch":149,"sticky":null},"to":{
"line":0,"ch":157,"sticky":null},"value":"__masterdata_form_inst_id","invalid":false},{
"from":{
"line":0,"ch":179,"sticky":null},"to":{
"line":0,"ch":193,"sticky":null},"value":"node_ocm2vkl0sg1//textField_m2vkaltf","invalid":false},{
"from":{
"line":0,"ch":218,"sticky":null},"to":{
"line":0,"ch":232,"sticky":null},"value":"node_ocm2vkl0sg1//textField_m2vkaltf","invalid":false}],"isCmData":true}
也可以参考宜搭案例:https://docs.aliwork.com/docs/yida_subject/_2/mmbttbadi8zt2hgk
效果图:
更新前A表:
编辑B表数据
A表自动变更: