Hoppa till huvudinnehållet

New System.Collections.Generic.Dictionary(Of String, Object) to Invoked Workflow

Kommentarer

1 kommentar

  • Permanently deleted user
    Hi Walter,

     

    Just to confirm, iEnumerable2_AEFLocations is the iEnumerable from your Cast activity, correct (IEnumerableLocations), correct?  

     

    I think you've maybe assumed that everything going to the Invoked Workflow needs to be a string, but that isn't the case.  Strings are just used for the argument names.  Use:

     

    New System.Collections.Generic.Dictionary(Of String, Object) From { { "Extent", SelectedExtentobj.ToString }, {"Chem_Name", AEF_Chemical_ToProcess.Tostring},{"AEFLocation", iEnumerable2_AEFLocations} }

     

    to pass in  iEnumerable2_AEFLocations as is, without the string conversion.  Have an input argument with the corresponding name (AEFLocation) and type (IEnumerable<Object>?) on the workflow that gets invoked.  Then maybe test by logging the value of AEFLocation(0).Tostring in the invoked workflow.

     

    Hope that helps,

     

    -Amanda
    0

Du måste logga in om du vill lämna en kommentar.