Hoppa till huvudinnehållet

Datatype of output argument of a form activity

Kommentarer

2 kommentarer

  • Permanently deleted user
    Hi Srikanth,

     

    From my knowledge form activity only returns value and not associated display value.

     

    We have similar scenarios in our workflows and after form activity we are querying database or mapService to retrieve associated display value.

     

    To cast selected value you can use cast activity to type System.Collections.Generic.IList<System.Object> then use a ForEach<Object> activity to loop the casted list and retrieve values using item.ToString() or Convert.To...(item) if your values need to be of a particular type (integer, ...)

     

    If your listbox allows only single selection mode you can cast it directly using .ToString() or Convert.To....()

     

    I hope this helps

     

    Francesca
    0
  • Permanently deleted user
    Hi Srikanth,

     

    Yes, the ListBox output argument will only return string value in case of single selection and string collection in case of multiple selection.

     

    Regards,

     

    Mohammad Ashraf

     

     
    0

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