Specifying input variables

This example uses ObjProperty to specify the input values.


'define input variables
Dim Input1 As String, Input2 As String, Input2A As String, Input2B As 
String, Input3 As String, Input4 As String
Function wf_start() As Long
   Try
      Input1 = CStr(ObjProperty("..."))
      Input2 = CStr(ObjProperty("..."))
       Input2A = CStr(ObjProperty("..."))
       Input2B = CStr(ObjProperty("..."))
       Input3 = CStr(ObjProperty("..."))
       Input4 = CStr(ObjProperty("..."))
    Catch ex As Exception
       If Not ex.InnerException Is Nothing Then 
Messaglist(ex.InnerException.Message)
    End Try
'params with values are inputs #8 - 13 inclusive so 'empty' values

'must precede the scripted inputs
    LaunchWorkflow("FML_APPROVE", "FORMULA", "", "", "", "", "", "", "", 
"", "", Input1, Input2, Input2A, Input2B, Input3, Input4)
    Return 111
End Function
End Class