Hi Tape,
We encounter an error while trigger an automation, when saving new record it will trigger the task creation. The error was in our task creation. see error below:
[07:27:46.679] Filters setup failed with error:
Failure Reason: ASSEMBLING_VARIABLES_FAILURE, Original error message: ā2 duplicate variable name(s) detected: individual_tax_return_field_purchase_date_2_has_changed, individual_tax_return_field_purchase_date_2_value. This is an issue with Tape, please contact support.ā
Can you print the filter section of the workflow where the error is happening, if youāre using it?
I think a printscreen of the structure could help, Iāve never seen this error before and it looks like thereās some kind of error at the variables used to filter, according to the log.
thank you so much for reporting this issueš And also thanks to @toni for already jumping in with the right questions.
To be able to dive deeper, weād also need exactly the information Toni already mentioned, in which section of the workflow the error is happening. If you could share a screenshot of that part of the automation or send us the automation ID, that would be super helpful. With that, we can trace it in our logs and analyze in depth what caused the problem.
Thanks a lot for your support here, weāll make sure to look into it as soon as we have these details.
Quickly explained:
Trigger - Other Automation calls in āPersonalMonatā
Filter - Run only, when Link to āPersonalkonditionenā is empty
Steps:
Get related record āPersonalā
Get related record āMonatā
Search for record in āPersonalkonditionenā, where:
āPersonā field links exactly to the same record as the āPersonā field in āPersonalMonatā
āGültigā (Range) is at or before āFirst Day of the monthā
āGültig bisā (Single Date) is at or after āLast Day of the monthā
Count amount of found records
If there is any record, update the record with the Link to āPersonalMonatā
Maybe the two different link fields pointing to the āPersonā as a comparison are causing it?
āGültigā is a date range - I only need the start.
āGültig bisā is a single date - which might be empty, which is ok for the application, but not for the automation (no āor emptyā).
I tried to turn it into a script.
I had ārecord_collection_personalkonditionen.ā missing as not defined. Solved it by placing an empty block before. Quite hacky, but seems to work.
I changed the script to pull the right value (start) from the āGültigā date range field.