Suppose I have one flow with 2 tasks. In task1 I call one client-side human service with a coach created by pure Custom HTML other than those elements provided by BPM itself. I have a button in this Custom HTML, my question is:
1) How can I finish this coach(make flow goes to end just like you click the button BPM provided) by clicking this button? Is there any rest api I can use? I found that I can call /rest/bpm/wle/v1/task/{taskId}?action=finish to end task1, but how can I interact with the client-side human service inside task1?
2) Is my use case(use pure Custom HTML, by doing this front end guy can still focus on HTML, CSS which they used to do) a good practice?