Default Value of a record in the datamapper

Hi

I have a PDF page, where there could be up to 6 number of information tags on.
I need to find the information in the 6 tags.
I run through the page 6 times to find the specific tags. First tag one, then the next tag, cause I don’t know where they are.
The page does not always contain all 6 tags.
The datamapper only returns the tags found to the workflow afterwords.
How do I set a default value for a record not found ?
I use a Condition to extract the record if the data tag i found, I have tried to add an action step - if Condition is false, where I set the record to a default value with a script- but it is not working - what am i doing wrong.
Script:
record.fields[‘TAG_AFBUD’] == ‘NOTAG’;

Have you tried simply assigning a default value to your fields by right-clicking a field in the Data Model and selecting “Default value…”?

Of cause - why did I not think of that. Right click the field and insert a default value.
Thaks.