Retrieve name of params from workflow activity

Bloccato Retrieve name of params from workflow activity

  • martedì 10 aprile 2012 15:28
     
     

    Hi,

    Is there any way tot retrieve the params of a workflow activity within a c# client?

    Let me briefly explain why I want this:

    I have created a custom activity which (when a service gets idle) writes a entry to a database. This entry contains information about the worfklow instance like instanceId, stepId, stepName,  operationName, etc. Then I have a Java client, which does a SOAP request, using the information from the database.

    Doing a SOAP request I am able to call an activity in a specific workflow instance.

    But now i`m facing this problem: some workflow activities needs parameters to continue (actually all receive activities does, because of correlation). I have to specify those paramters in my SOAP request. Is there any way to retrieve the names of the params in for example my custom activity so that I can write the parameters to the database as well?

    Hopefully I was able to explain the problem.. And sorry for my English, i`m not very good at it..

    Thanks!

Tutte le risposte

  • giovedì 12 aprile 2012 07:47
     
     
    Anyone?
  • giovedì 12 aprile 2012 12:09
     
     

    Hi,

    If it is context based correlation, you don't need to specify parameters in your SOAP request.

    For content based correlation, the correlation key was specified by yourself. Generally, we wouldn't write this key to database, if the sub request need to be correlated, the correlation key always return in the initial request.

    http://msdn.microsoft.com/en-us/library/dd456784.aspx

  • giovedì 12 aprile 2012 12:21
     
     

    Thanks for your help Franconia. It is a context based correlation, but I am not talking about the correlation param, but about any other param. My workflow retrieve activity could possibly have multiple params (like city, name, etc). I have to pass values into those params when invoking the activity.. So it is not directly about correlation, but about passing information into an activity.

    Thanks


  • lunedì 16 aprile 2012 07:51
     
     
    Anyone?