fix: [workflow:tag_if] Use flattened attributes and extract tags from all attributes

pull/8530/head
Sami Mokaddem 2022-08-02 11:27:58 +02:00
parent a98efa5be1
commit f29836d904
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 2 deletions

View File

@ -83,9 +83,9 @@ class Module_tag_if extends WorkflowBaseLogicModule
{
$path = '';
if ($scope == 'attribute') {
$path = 'Event.Attribute.0.Tag.{n}.id';
$path = 'Event._AttributeFlattened.{n}.Tag.{n}.id';
} elseif ($scope == 'event_attribute') {
$path = 'Event.Attribute.0._allTags.{n}.id';
$path = 'Event._AttributeFlattened.{n}._allTags.{n}.id';
} else {
$path = 'Event.Tag.{n}.id';
}