Class StartingTransitionNotFoundEventArgs
OptimaJet.Workflow.Core.Runtime.StartingTransitionNotFoundEventArgs
Provides event data for WorkflowRuntime.OnStartingTransitionNotFound and WorkflowRuntime.OnStartingTransitionNotFoundAsync.
Namespace: OptimaJet.Workflow.Core.Runtime
public class StartingTransitionNotFoundEventArgs : EventArgsType Hierarchy
- EventArgs
- StartingTransitionNotFoundEventArgs Current type
Properties
public Guid ProcessId { get; } #Gets the identifier of the subprocess process that cannot be updated.
public Guid RootProcessId { get; } #Gets the identifier of the root process for the current subprocess tree.
public ProcessDefinition OldRootScheme { get; } #Gets the current root process scheme before the update attempt.
public ProcessDefinition NewRootScheme { get; } #Gets the root process scheme that is being applied.
public string NewTransitionName { get; } #Gets the new starting transition name selected by StartingTransitionNotFoundEventArgs.StartWithNewTransition(string).
public string OldTransitionName { get; } #Gets the starting transition name from the old scheme that was not found in the new root scheme.
Methods
public void DropProcess() #Requests that the updater removes the subprocess from the process tree.
public void Ignore() #Requests that the updater ignores the failed scheme update for the subprocess.
public void StartWithNewTransition(string transitionName) #Requests a new starting transition for creating the updated subprocess scheme.
Parameters
Name
Type
Description
transitionNameStringName of a transition that exists in the new root process scheme.