Skip to main content

I started an event scheduling system based on pblommendaal's contribution in the market.  when crating a PolicyMapping you specify the dll, napespace and methodsignature like: 

 

policyMapping = new EBAuthor.PolicyMapping(0, @"d: empsampledll.dll", "SampleDLL.Class1", "Void SendMailMessage()");

 

Now I'd like to pass parameters (string) into that method. Something like:

 

policyMapping = new EBAuthor.PolicyMapping(0, @"d: empsampledll.dll", "SampleDLL.Class1", "Void SendMailMessage('myStringParem')");

 

I see in the EventBus.EventPolicyMapping table that K2 does something liek this for their own calls:

Void SendMail(System.String, System.String, System.String, System.String, System.String, System.String, Boolean)

 

Which leads me to believe that I should do the same with my call.  but what I don't see is how the value gets passed into the method.  I'd assume that the value would be passed in the Data column which is binary data...but if that is the case, what's the structure of that data before it's converted to binary....and how does it get inserted via the authoring API?

 

Any thoughts are appreciated.  Thanks.

Hi,  @jensor.  Any news on this question? Did you found solution? 


Reply