how can I use new WorkflowApprovalUtils().cancelAll(current, comment); in flow editor

Ulrich Matthew
Tera Contributor

I want to apply this logic to flow editor new WorkflowApprovalUtils().cancelAll(current, comment); but can't find any answer

 

thanks in advance

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi

what do you mean with "want to apply this logic to flow editor"?

  • Do you want to cancel Workflows in a Flow?
  • Do you want to have something similar for Flows?

It's really not clear what your issue is!

Maik

Hi Maik! 

  • Do you want to cancel Workflows in a Flow? 
    • no, but it sounds interesting.  
  • Do you want to have something similar for Flows?
    • yes, we are trying to cancel and restart the current flow executions. 

yes i want to have something similiar inside flow designer , to reset all the process 

Hi

you can call

new sn_ph.GlideProcessAutomation(current.sys_id);

Maik