Custom WF Server Event (Can we pass parameter?)


Badge +7

We created a new Custom WF Server Event, it works fine with no parameter passed, just regular hello World Alert

My question is can we pass parameter from Smartform integration to Custom WF Code, please see image too

 

13373i49C82E04B4233538.png

 

 


2 replies

Userlevel 1
Badge +8

Hi priya_seh

 

Your code has access to your process level or activity level  data fields.

 

From memory you can access using the following statements, replacing the datafield names with your own.

 

K2.ProcessInstance.DataFields["ProcessDataField"].Value 

K2.ActivityInstanceDestination.DataFields["ActivityDataField].Value 

 

 

Badge +7

Thank you so much for your reply

Reply