试下集成自动化呢,在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表自动变更:
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。