华为云Astro轻应用-BPM如何与页面交互:在标准页面中与BPM交互
时间:2025-02-12 14:58:39
在标准页面中与BPM交互
在标准页面的自定义事件中,内置了一些交互的API :
- 获取变量:context.$bpm.loadVariables(): Promise
- 提交任务、流程: context.$bpm.submitTask(variables: {[key: string]: any}): Promise
- 修改变量: context.$bpm.putVariables(variables: {[key: string]: any}): Promise
图2 在标准页面的事件代码中与BPM交互

support.huaweicloud.com/usermanual-astrozero/astrozero_05_0636.html