SELECTED ANSWER
replied on February 22, 2024
Karl,
Here is a very short VB code snippet to reference both the BoundEntryInfo and the passed mimetype variable;
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Data.SqlClient
Imports System.Text
Imports Laserfiche.RepositoryAccess
Namespace WorkflowActivity.Scripting.SDKScript
'''<summary>
'''Provides one or more methods that can be run when the workflow scripting activity is performed.
'''</summary>
Public Class Script1
Inherits RAScriptClass104
'''<summary>
'''This method is run when the activity is performed.
'''</summary>
Protected Overrides Sub Execute()
Dim mimeType As String = Me.GetTokenValue("ForEachEntry_CurrentEntry_MIMEType")
Using docInfo As DocumentInfo = DirectCast(Me.BoundEntryInfo, DocumentInfo)
If mimeType = docinfo.MimeType Then
End If
End Using
End Sub
End Class
End Namespace