Activities
Persist
This activity saves a workflow to disk, if possible. The Persist activity cannot be executed in a non-persistence zone as, for example, within a TransactionScope activity. If you do use a Persist activity in a non-persistence scope, an exception is thrown at runtime.
Activity Parameters
The Persist activity has no parameters.
TerminateWorkflow
This activity terminates the execution of a workflow.
Activity Parameters
The TerminateWorkflow activity has two parameters that can be provided by manually inserted values or via IN arguments or variables:
Parameters:
- Exception (text box editor type) (type: System.Exception): The exception to throw when the workflow is terminated.
- Reason (text box editor type) (type: System.Exception): The reason that explains why the workflow was terminated.