Feature request: Coded Workflow ExecuteAsync

Good day,

It would be great if CodedWorkflows would have an Async variant.
Right now it’s pretty awkward to invoke Async code in UiPath (doable in a couple ways, but a bit cumbersome with all of them).

This would be very useful for at least following cases:

  • Existing vendor SDK’s
  • File and content streaming
  • Easy parallelization
  • Eliminate the need to write one-off custom activities when something needs to step into async and/or to use pre-await-async task methods

Hey Andrzej,

Starting with Studio 24.10, we also provide an async version - just switch your Execute method to async Task, async Task<string> or async Task<(string Output1, string Output2> in order to use async.

We definitely need to document this better and make it easier to discover in Studio.

Hope this helps!

Thanks,
Alvin

1 Like

Thanks Alvin, indeed didn’t know this was a thing (was looking for ExecuteAsync or similar pattern).
Just did a quick test on parallelized async invokes, and seems to be working as expected. It will be a great asset on new projects with that version.

For discoverability, maybe something like this would be enough for starters?

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.