Assign object reference not set to an instance of an object



Can any one help me with the error
@ddpadil @aksh1yadav

Main has thrown an exception

Source: Assign

Message: Object reference not set to an instance of an object. This error usually occurs when using a variable with no set value (not initialized).

Exception Type: NullReferenceException

project.json (547 Bytes)
rules.xlsx (8.0 KB)
Main.xaml (25.3 KB)


Create the object before using the variable


sry didnt get you
i am a learner
cold you please elobrate


can you send the screenshot of the Exception message and from which activity its throwing exception? @Tanuja




this part its is showing eror
i have attached main file also can u check whats wrong
thank you


@Tanuja It looks to me like your messages List is null.
Can you check if you entered your mail address in the “Account” Property in the Get Outlook Mail Messages Activity in your Move email Sequence? Your email is blank in the version that I downloaded.


Hi @Tanuja,

In assign activity update this code