Open ddd0819 opened 1 month ago
The problem has been solved, I misunderstood the meaning, I thought the variable will be automatically filled into my pop-up window to help me fill in the corresponding variable value, it turns out that it is also necessary to get the value of the variable through JavaScript.
get the value of the variable through JavaScript.
how get the value of the variable through JavaScript ? thnk you tell me how to get
I want to use JavaScript code to trigger a workflow and populate the required variables, it triggers the workflow but still pops up a window requiring me to manually fill in the variables! how can I specify the variables through JavaScript code?
here is my JavaScript code:
window.dispatchEvent(new CustomEvent('automa:execute-workflow', {detail: { publicId: '123456789',data: {variables: {search_key: 'hello',total: 10,filter_time:'2024-01-01',filter_like:0,filter_fans:0}}}}));