Skip to main content

Problem with Compute() method

Comments

6 comments

  • Kathy Andersen
    Mark,

     

    I am just attempting the same thing and getting the same error.  Were you ever able to figure this out?  Is the Compute Method not available in workflow?

     

    Thanks,

     

    Kathy

     

     
    0
  • Permanently deleted user
    I think you should use 'Invoke Method' activity: TargetObject as [Your DataTable], Method Name as [Compute], and two Parameters for Expression and Filter as the input arguments for Compute Method (https://msdn.microsoft.com/en-us/library/system.data.datatable.compute(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2)

     

    Good luck!
    0
  • Kathy Andersen
    Thank you Munwhan, but I have tried that approach and receive the same error that Mark shows in his initial post.
    0
  • Kathy Andersen
    Munwhan,

     

    Thank you for the help!  That makes sense, unfortunately I can't see the activity between FeatureSetToDataTable and InvokeMethod.  When I load into Workflow Designer it shows an error in place of that activity "Activity coud not be loaded because of error in the XAML".  Maybe this is due to us using an older version of Workflow Designer, as I don't see an activity for AddDataTableColumn.
    0
  • Nico Burgerhart
    This activity was new in Essentials 4.4.
    0
  • Kathy Andersen
    Thank you Nico.
    0

Please sign in to leave a comment.