Your version of the formula is missing the 'Archived' part. The new version of the formula should look like this:
Code:
ifThen(
entity\isNew() == true && record\exists('Email', 'subject=', name, 'status=', 'Archived') = true && createdById == 'system',
status = 'newfrommail'
);
or like this:
Code:
ifThen(
entity\isNew() == true && record\exists('Email', 'subject=', name, 'status=', 'Archived') && createdById == 'system',
status = 'newfrommail'
);

Leave a comment: