using Elsa.Common;
using Elsa.Workflows.Runtime.Stimuli;
namespace Elsa.Workflows.Runtime.Bookmarks;
///
/// A bookmark that is used to resume a workflow that is waiting for a background activity to complete.
///
[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; }
}