Now we want to clean up the orchestration scheduled by timer and create schedule at new timing. what is the best way to clean up this orchestration? for Using TerminateAsync , the workflow might be in run, so intention is to stop it after current run.
We are using the timer function provided by DTF to support periodic workflow like below.
TResult result = default(TResult) !; try { result = await base.RunTask(context, input); } catch (Exception) { } finally { await context.CreateTimer
return result;
Now we want to clean up the orchestration scheduled by timer and create schedule at new timing. what is the best way to clean up this orchestration? for Using TerminateAsync , the workflow might be in run, so intention is to stop it after current run.