Unable to add filter for retrieving emails from mentioned Email ID. getting Error option strict on disallows implicit conversions from 'string' to 'long'

Hi all,

I am creating a sequence where i need to filter mail only from either of two email IDs.

i have created a if condition ::
mail.Subject.Contains(“Invoice-Number:”) And mail.From.Address.Equals(EmailID_1 Or EmailID_2)
option strict on disallows implicit conversions from ‘string’ to ‘long’

and specified email address in EmailID_1 and EmailID_2

but getting this error

Email_PDF_UseCase.xaml (7.7 KB)

try having the second e-mail address as a separate statement.
mail.subject.contains("invoice number:") AND mail.from.address.equals(EmailID_1) OR mail.from.address.equals(EmailID_1)

1 Like

working bro :smiley: thanks

1 Like

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