Alteration Plans
Creating Alteration Plans
var plan = new NewAlterationPlan
{
Alterations = new List<IAlteration>
{
new ModifyVariable("MyVariable", "MyValue")
},
WorkflowInstanceIds = new[] { "26cf02e60d4a4be7b99a8588b7ac3bb9" }
};Submitting Alteration Plans
var scheduler = serviceProvider.GetRequiredService<IAlterationPlanScheduler>();
var planId = await scheduler.SubmitAsync(plan, cancellationToken);var store = serviceProvider.GetRequiredService<IAlterationPlanStore>();
var plan = await _alterationPlanStore.FindAsync(new AlterationPlanFilter { Id = planId }, cancellationToken);Last updated