core
core copied to clipboard
#23009 now can set categories on velocity on wf
Now you can run this
#set($parentCategory = $categories.getCategoryByKey('ageOrGender'))
#set($cats= $categories.getChildrenCategories($categories.getCategoryByKey('ageOrGender')))
#set($contentDeps = $workflow.copyContentletDependenciesBuilder().categories($cats).build())
$workflow.setContentletDependencies($contentDeps))
To set the categories on workflow
Postman Tests Report
59 files 1 155 suites 2h 47m 54s :stopwatch: 515 tests 515 :heavy_check_mark: 0 :zzz: 0 :x: 1 910 runs 1 910 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 7f2479ed.
:recycle: This comment has been updated with latest results.
Unit Tests Report
1 332 tests ±0 1 322 :heavy_check_mark: ±0 3m 1s :stopwatch: -1s 130 suites ±0 10 :zzz: ±0 130 files ±0 0 :x: ±0
Results for commit 7f2479ed. ± Comparison against base commit 45f9803c.
:recycle: This comment has been updated with latest results.
Integration Tests [postgres] Report
398 files +1 398 suites +1 58m 28s :stopwatch: - 7m 46s 3 801 tests +1 3 777 :heavy_check_mark: +1 23 :zzz: ±0 1 :x: ±0 3 820 runs +1 3 796 :heavy_check_mark: +1 23 :zzz: ±0 1 :x: ±0
For more details on these failures, see this check.
Results for commit 7f2479ed. ± Comparison against base commit 45f9803c.
:recycle: This comment has been updated with latest results.
This test must be included in MainSuite
Done
Integration Tests [mssql] Report
397 files +1 397 suites +1 1h 6m 15s :stopwatch: - 52m 38s 3 796 tests +1 3 764 :heavy_check_mark: - 2 23 :zzz: ±0 9 :x: +3 3 815 runs +1 3 783 :heavy_check_mark: - 2 23 :zzz: ±0 9 :x: +3
For more details on these failures, see this check.
Results for commit 7f2479ed. ± Comparison against base commit 45f9803c.
:recycle: This comment has been updated with latest results.