Skip to main content
Solved

Cancelling workflow from within process-block

  • December 4, 2023
  • 1 reply
  • 52 views

christopherlecky
Explorer
Forum|alt.badge.img+16

I often have a wizard-block defined with a process-block in order to make my workflows clean.

The problem is that the workflow end activity doesn't actually kill the workflow it just exits the process block.

 

Is there a way to kill the entire workflow from within the process-block?

 

Best answer by Yeshwanth

Hi @christopherlecky ,

We will need to set some global variable in the process block and then exit the block and afterwards check that variable to see if you need to mark the workflow completed.

 

Thanks,

Yeshwanth

1 reply

Forum|alt.badge.img+4
  • Vaulter
  • Answer
  • December 26, 2023

Hi @christopherlecky ,

We will need to set some global variable in the process block and then exit the block and afterwards check that variable to see if you need to mark the workflow completed.

 

Thanks,

Yeshwanth