Argument ‘condition’: BC30456: ‘Subject’ is not a member of ‘String’.
Subject’ is not a member of ‘String’: This error typically occurs when you’re trying to access a property or method called ‘Subject’ on a variable of type ‘String,’ but ‘String’ does not have a ‘Subject’ property or method. Make sure you’re operating on the correct object or type.
BC30311: value of type ‘String’ cannot be converted to ‘MailMessage’. The selected value is incompatible with the property type.
value of type ‘String’ cannot be converted to ‘MailMessage’: This error suggests that you are trying to assign a ‘String’ to a variable or property that expects a ‘MailMessage.’ You need to ensure that you are assigning the correct types. Check your code to make sure you’re using ‘MailMessage’ where it’s expected and ‘String’ where appropriate
I managed to fix the second error “item”
But I tried fixing the first error: item.Subject.Contains(“Resume”) but it’s still showing error. I tried both ways like you showed but it’s not fixing the error, so weird
@Sara_Piana
Before the If condition take an assign activity and give below syntax:
Assign=> MailSubject= item.Subject
If
MailSubject IsNot Nothing AndAlso MailSubject.Contains("resume")
Then
//do required process
Else
//do required process
End If