Could not able assign the exception to system exception

Hi @Manju_Reddy_Kanughula ,
Select datatype “system.exception” (under mscorlib)

Regards,
Arivu

@arivu96 I have selected the system.exception only

Hi @Manju_Reddy_Kanughula ,

Check the image below, you will notice that there are two Exception types , you would require to choose the System.Exception one :
image

Also, SystemException variable name is used, try using a different name for the variable as it is also same as the SystemException data type.

Can you share the full screenshot & please check the variable name did you used.

upgrade the UiPath.System.Activites and try again

Regards,
Arivu

You have your SystemException variable set to variable type System.SystemException instead of System.Exception

That’s why the error says it can’t convert from Exception to SystemException. The Value to save of “exception” is datatype System.Exception

You really shouldn’t name your variable SystemException as this is going to conflict with the actual datatype called SystemException. Name your variable something else to avoid this conflict.

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