Invoke workflow arguments error

It is invoked within the Send Email state:

As shown here:

Understood, but you mentioned that its not going inside after it prints, “Emailing the PDF files”

Correct

Then your invoke is broken for some reason.
But im not able to understand in that case why does it not throw null reference or instance of error:roll_eyes:

I agree, it makes no sense, I have no idea what the Object error it complains about is as nothing seems to be “incorrect” as it works in isolation just fine.

Let me recommend something as a hit-n-trial.

Invoke the same workflow, just move your arguments to variables and default them.
Now refresh your workflow invoke(no arguments) and test. does it still fail?

1 Like

You’re a hero, I know it’s a “botch job” but it works! Thanks so much for your time and help!

So I assume it must have been related to the invoke being buggy - anyone from UiPath have an idea? I copy and pasted the invoke which pulls in the config again, and created 4 A-B assigns which recreated the arguments as variables, which I think called for the rest of the component, otherwise it was identical.

1 Like

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