New Invoke Workflow activity not Working with Coded Workflows

In the new Studio update, the invoke workflow activity was updated and can more automatically import arguments from the workflow it is invoking.

However, this is broken with coded workflows. It can import the out arguments, but not the in arguments. When you try and just fill it in manually like before, it breaks because it says it is missing an argument.

Unexpected error has occurred during the library compilation process:
Unable to create activity builder for Data Wrangling\Extract Email Data Coded. Reason was ‘Value cannot be null. (Parameter ‘key’)’.

The value is not null. But UiPath cannot recognize the arguments from the method signature. When I hit “refresh arguments” it deleted all of the in arguments, even though there is one.

I have also tried manually writing in the file path to the .cs file like you used to. But I get the same error.

It can tell it is missing to.

But hitting refresh arguments does not add the argument

I added a second string in argument for my coded workflow and THAT gets picked up

The issue is that it does not work with array arguments. This did not used to be the case

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