NEW1.06.06 · Released 29 January 2013
NEWfinPOWER Connect
Released in
1.06.06
29 January 2013
- Opened17 Jan
- Closed21 Jan
- Released29 Jan
Article 10851
Job J011011
Workflows; Log details now available to BeforeItemAction and AfterItemAction Script events for Log and Outgoing Communication items
The Log details entered when actioning a Log and Outgoing Communication item from the Task Manager are now available to the BeforeItemAction and AfterItemAction Workflow Type Script events.
The following example shows how to access the Log details:
Dim LogCreationDetails As finLogCreationDetailsSelect Case eventIdCase "BeforeItemAction"LogCreationDetails = DirectCast(otherParameters.GetObject("LogCreationDetails"), finLogCreationDetails)If LogCreationDetails IsNot Nothing ThenfinBL.DebugPrint(LogCreationDetails.Subject)End IfCase "AfterItemAction"LogCreationDetails = DirectCast(otherParameters.GetObject("LogCreationDetails"), finLogCreationDetails)If LogCreationDetails IsNot Nothing ThenfinBL.DebugPrint(LogCreationDetails.LogSeverityId)End IfEnd Select
NOTE: When actioning one of these items from the Workflows form, Log details are not available to these events since the Log is simply created and then presented to the User for editing.