It’s been a little while since my last post and I thought, you know, it’s time to post something. So in the last months I started to using a RPA tool called UiPath, very curious and interesting, but the most interesting thing is the extensibility that you can do with nuget packages.
Following the official documentation how to create a custom activity with UiPath I created one. The activity receive a DataTable and returns the data on a Pivot DataTable.
So the idea is get this:
So I got the Pivot DataTable function that is around the stackoverflow and I created the Activity, here is the code:
Compile, package the .dll with Nuget Package Explorer and add the nuget package activity to the UiPath and will appears in the activities section. Then drag and drop the activity, send the DataTable input with the column and value that you want to pivot and done.