File tree Expand file tree Collapse file tree
packages/flow-approval-presenter/src/presenters Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class FlowActionPresenter {
4747 delete formData . recordId ;
4848 }
4949
50- const id = recordId || this . state . flow ?. workId || '' ;
50+ const id = recordId || this . state . flow ?. workCode || '' ;
5151 return await this . api . processNodes ( {
5252 id,
5353 formData,
@@ -82,7 +82,7 @@ export class FlowActionPresenter {
8282
8383 private async submitAction ( actionId : string , formData : any , params ?: any ) {
8484 const recordId = formData . recordId || this . state . flow ?. recordId ;
85- const workId = this . state . flow ?. workId ;
85+ const workCode = this . state . flow ?. workCode || '' ;
8686
8787 if ( formData . recordId ) {
8888 delete formData . recordId ;
@@ -100,7 +100,7 @@ export class FlowActionPresenter {
100100 return await this . api . action ( request , this . mockKey ) ;
101101 } else {
102102 const createRequest = {
103- workId ,
103+ workCode ,
104104 formData,
105105 actionId,
106106 }
You can’t perform that action at this time.
0 commit comments