using Elsa.Common;
using Elsa.Workflows.Runtime.Stimuli;
namespace Elsa.Workflows.Runtime.Bookmarks;
/// <summary>
/// A bookmark that is used to resume a workflow that is waiting for a background activity to complete.
/// </summary>
[Obsolete("Use BackgroundActivityStimulus instead.")]
[ForwardedType(typeof(BackgroundActivityStimulus))]
public class BackgroundActivityBookmark
{
/// Set retroactively after the job has been scheduled. It is used to cancel the job when the bookmark is deleted.
public string? JobId { get; set; }
}