VB Script is not calling the c# method from the workflow. Am i doing correct? I am able to test the same code from the server.
Option Explicit
Dim testwfhandler
Set testwfhandler= CreateObject("CoreComponentWorkflow.WorkflowHandler")
If Not testwfhandler Is Nothing Then
Call testwfhandler.test()
End If
Set testwfhandler= Nothing
I have been dealing with a similar issue for the last couple of days.
I’s without any doubt a problem with the registration.
In my case I registered the assembly using the regasm located in:
The workflow agent is a 32 bits application, so I just registered the assembly with the regasm executable located in:
And worked like a charm
Also make sure you build your dll to work with Any CPU