public class MyWorkflow : Activity { protected override void Execute() { this.Context.AddBaggage("key", "value"); } }
public class MyWorkflow : Activity { protected override void Execute() { if (this.Context.GetBaggage("key") != null) { this.Context.AddBaggage("key", "new_value"); } } }This activity is a part of the Microsoft.Activities.Extensions package library.