Getting values into element OutputArguments{}

When the robot terminates with an error (like “Element not found”), I can see an object is created with keys such as EventID, Job, State, Info, etc. Among those is the key OutputArguments{}.

Where in Studio can I place values that would show up in OutputArguments{} ?

Is there some sort of activity whose property will write there?

Thank you,
Blake

If you’re using the robotic enterprise framework, you can do this in the set transaction state.

@blane

When an error occurs you can use try catch to catch the error and in the catch block you can set the output arguments using assign activity

Cheers

Digging into this now.
Thank you.

1 Like

You should use proper error handling so your Job doesn’t terminate with an error.