Scanjour.Workflow4.ActivityLibrary Namespace

This namespace provides basic workflow activities and utility functions that can be used from workflow activities built to supplement the ones here.

Classes

AbstractErrorManagedActivity Provides a base for error handled activities.
ActionListener Creates bookmarks and a timer and listen for a bookmark to be raised or duration to pass.
ActivityException Represents errors that occur within activities of Scanjour.Workflow4.ActivityLibrary.
ActivityFunctions Functions used in activities.
ActivityTracing 
ChangeCase Move the process to a new case.
CheckResultAndAttempts Verify conditions to make another retry based on l and .
CleanUpInfoTaskAttachments Closes a info task
CloseCase Represents an activity used to close case in case of successful shipment.
CompleteExternalCommunication Create Process History Document
CompleteMassDispatch Create Process History Document
CreateBookmarkActivityT Creates a bookmark expecting a value of the specified generic formal type. When the bookmark is resumed, the actual value specified by the resumer will be put into the ActualValue OutArgument. The activity will fail if the actual value cannot be converted to the specified generic formal type.
CreateBookmarkWithCallbackActivity Creates a bookmark and sets up a callback that will be invoked when the bookmark is resumed by some external source.
CreateHistoryActivity This activity creates an entry in the wzp_history register reporting an incudent in the workflow.
CreatePdfRenditions Generate Pdf rendition compensation activity wrapper.
CreateProcess Create a process
DispatcherActivity Dispatch a document to a dispatcher based on a dispatcher id.
DispatcherFunctions Methods to get data relevant for dispatchers
DispatcherValidator Represents an activity used to validate workflow arguments.
DocumentInformation Information about a document
FindAndUpdateMunicipality 
GetContactByNameCodes Get Contacts by emails activity
GetContactsByEmails Get Contacts by emails activity
GetDispatcherSequenceIds Retrives a sequence of dispatcher identifiers from a specific dispather sequence identifier.
GetWorkflowInstanceIdActivity Get the instance id Guid as Result.
HistoryActivityFunctions Functions used in activities.
IsProcessRunning Check if process is running.
MailboxMonitorCaseHandlerActivity ServiceDemo Case Handler
MailboxMonitorMailValidatorActivity Validate if a mail is an F2 mail.
MassDispatchActivity Creates bookmarks and listen for a bookmark to be raised.
MassDispatchServiceProxy This class is a temporary implmenentation of the interface to MassDispatchService At a later point in time it should be replaced with the MassDispatchRepository in Scanjour.Workflow4.Web.Services.Repositories.
MassDispatchValidator Create Process History Document [ToolboxBitmap(typeof(MassDispatchValidator), "Images.CreateDocument.png")]
MergeDocumentsToPdf Merge documents using Pdf Service.
MessageExceptionCollector Collects exception, which are registered along with the handle of the message being processed. When all message handles have been processed and the exceptions has been handled, then the class can produce one exception containing all the collected exception grouped by their message handle.
MonitorParallel Monitor ParallelSequenceDispatchActivity
OpenCaseScope Ensures that a case is open inside a using-scope. Todo: Cleanup job that is triggerd every hour Todo: repeat try lock until timeout
ParallelSequenceDispatcherActivity Dispatch a document to a dispatcher based on a dispatcher id.
PrepareExternalCommunication Create Process History Document
PrepareMassDispatch Create Process History Document
ProcessInfo Retrieve information from a completed process.
ReleaseMassDispatch Create Process History Document
RemergeColumn 
ReportPropertyValueActivityT Calls the specified callback with the current value of the specified property.
RequestReport Generate Pdf report compensation activity wrapper.
ReserveMassDispatch Create Process History Document
Response Response data contract
ResumeBookmarkActivity Resume a bookmark in another workflow.
RetryActivity The RetryActivity allows to retry activity with a condition activity and an executed activity to be constructed.
ScheduleActivity Activity to schedule an activity.
SequenceDispatcherActivity Activity to dispatch message based on a sequence of dispatchers
ShipmentInformation Object describing a shipment
ShipmentInformationCollection ShipmentInformationCollection class is only created to ensure that the size of serialized shipmentinfo is minimal
ShouldRetry Compares to int, to determine if max retry count has been reached
SimpleActionListener Creates bookmarks and listen for a bookmark to be raised.
SimpleAssignT Assign an input value of type T to the result.
SimpleCompare Compares an input argument against a value for equality/inequality
SimpleDispatcherActivity Dispatch a document to a dispatcher based on a dispatcher id.
SimpleDispatcherActivityShipmentStateException This exception is used internally by this activity only. The exception is used to indicate that the message state is incomplete. It is up to the Error Manager to decide what to do in situations like this.
SimpleDispatcherActivityWaitForReceiptException Exception is thrown when state is WaitForException. Used to configure specific wait options in wzp_error_manager/wzp_filtering_entry
SimpleMassDispatcherActivity Dispatch a document to a dispatcher based on a dispatcher id.
SimpleMassDispatcherActivityShipmentStateException This exception is used internally by this activity only. The exception is used to indicate that the message state is incomplete. It is up to the Error Manager to decide what to do in situations like this.
SimpleMassDispatcherActivityWaitForReceiptException Exception is thrown when state is WaitForException. Used to configure specific wait options in wzp_error_manager/wzp_filtering_entry
SimpleMergeDocumentsToPdf Create Process History Document
SimpleRequestReport Create Process History Document
SimpleScheduleActivity Activity to schedule an activity.
SmartpostParameterKeys Smartpost settings.
SmartPostStateSwitch This Activity appends a global int = order to Action Usage: Before switch After UserTask Purpose: reduce number of switches in flowchart.
SmartPostValidator SmartPost specific validation
UndoExternalCommunication Create Process History Document
UpdateHistoryActivity Update localized comment in in a history entry.
UpdateRecipientLog Updates the recipient log with information about documents.
ValidationHelper Provides validation
WriteToSystemLog Activity that logs an error to Windows Application Log.

Interfaces

IActivityLogger Simple logger interface, which should be use widespread in the activities. By utilizing this interface, it will be possible to implements various types of specific loggers.

Enumerations

ActivityErrorCode Defines an enumeration whose members represent the kind of ActivityException thrown.
DocumentType Specifies the document type in the document information
OpenCaseScopeLockType Enumeration of the locktypes that can be used when locking a case
RemergeColumnContentType 
RemergeColumnDataType Datatype of columns to be remerge
ResponseType Response Type
ShipmentMode Mode of a massdispatch shipment
SimpleDispatcherActivitySenderBehaviour Used for controlling the behavior of this activity.
SimpleRequestReportProtection Protection action.