Click or drag to resize

IMessageStorageStoreMessage Method

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_24.5.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.5.0.0.dll) Version: 24.5.0.0 (24.5.0.0)
Syntax
string StoreMessage(
	Message message,
	string fileKey,
	string state,
	IEnumerable<Address> senderAddresses,
	int? senderAddressesCount,
	File answerFile,
	Guid instanceId = default,
	string digitalPostSource = null
)

Parameters

message  Message
The message that shall be stored.
fileKey  String
Key to the case file in which the message is stored.
state  String
The state in which the created message record shall be initiated.
senderAddresses  IEnumerableAddress
The address entities of the senders, which shall be associated to the created message record by the role “sender”.
senderAddressesCount  NullableInt32
The number of addresses to be registered in a record information line. If null, then the record information line will not be created.
answerFile  File
The file the message is answer to or null if unsolicited message.
instanceId  Guid  (Optional)

[Missing <param name="instanceId"/> documentation for "M:Scanjour.Workflow4.ActivityLibrary.ServiceProcess.IMessageStorage.StoreMessage(WorkZone.Dispatcher.Base.Messages.Message,System.String,System.String,System.Collections.Generic.IEnumerable{Scanjour.Process.OData.Client.Proxy.Address},System.Nullable{System.Int32},Scanjour.Process.OData.Client.Proxy.File,System.Guid,System.String)"]

digitalPostSource  String  (Optional)
The sender of the message from the MeddelelseAfsenderNavn tag

Return Value

String
The key of the created message record.
See Also