Please help me in below mentioned scenario…
I want to filter my mail using filter property in get outlook mail activity using variable.
For example: variable name filter and that variable fetching data from excel file.
But, While using this scenario it get run time error:
“Assign: Value cannot be null.
Parameter name: source”
I didn’t understand why this is error occur. If I am using same syntax""[senderemailaddress] = ‘firstname.lastname@example.org’"" direct to filter property it working fine…
Please look into it and help me for same ASAP…
Are you trying below expression or not.
"[senderemailaddress] = ‘"+row("Email column").Tostring+"’"
No, I am defining a variable name “Filter” and fetching filter parameter from excel file.
Have you created Dictionary variable or not ?
You have to pass something like this.
Where Config variable is of type Dictionary.
Not created any dictionary variable
I am using it in this way.
Can you please check if the AddHeaders properties of Read range is unchecked. this might be the reason why the we you are getting null value.
Could you please print the below value using Message Box or Write Line activity and help me with screenshot.
I am unchecked the AddHeaders Properties in read range.
But again I am facing the same issue please find the error below…
filter,"""[senderemailaddress] = ‘email@example.com’"""
There are multiple inverted comma’s are fetching automatically.
I am facing the same issue while using Message Box.
Just provide the mail id only in config file and try this expression.
Don’t write entire expression in config file.
In the excel file remove the double quotes on either side as the data that is get executed from excel cell will be in string format only
So we dont need to bound the text in excel with double quotes
Just the expression like this
[SenderEmailAddress] = ‘firstname.lastname@example.org’
Once after changing then fetch the cell value as you did and pass that variable to filter property
Thankyou for your response, Now its working fine.
@And Thankyou all for your support in this.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.