IMessageStorageStoreMessage Method

Scanjour Workflow4 Reference Manual
When this method is invoked, the implementation shall store the specified message in the implemented storage as a new record (message record).

Namespace:  Scanjour.Workflow4.ActivityLibrary.ServiceProcess
Assembly:  Scanjour.Workflow4.ActivityLibrary_23.2.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.2.0.0.dll) Version: 23.2.0.0 (23.2.0.0)
Syntax

string StoreMessage(
	Message message,
	string fileKey,
	string state,
	IEnumerable<Address> senderAddresses,
	int? senderAddressesCount,
	File answerFile,
	string digitalPostSource = null
)

Parameters

message
Type: WorkZone.Dispatcher.Base.MessagesMessage
The message that shall be stored.
fileKey
Type: SystemString
Key to the case file in which the message is stored.
state
Type: SystemString
The state in which the created message record shall be initiated.
senderAddresses
Type: System.Collections.GenericIEnumerableAddress
The address entities of the senders, which shall be associated to the created message record by the role “sender”.
senderAddressesCount
Type: SystemNullableInt32
The number of addresses to be registered in a record information line. If null, then the record information line will not be created.
answerFile
Type: File
The file the message is answer to or null if unsolicited message.
digitalPostSource (Optional)
Type: SystemString
The sender of the message from the MeddelelseAfsenderNavn tag

Return Value

Type: String
The key of the created message record.
See Also

Reference