Summary

This block is used to add a category in the CategoryService.

 

Implementation

 

Example

This block is triggered based on a Node (the origin). A category is built with the name of the Node. The category index is set from the tag "b:categoryIndex".

 

 

 Properties

AdvancedConfig

Note

A relation "b:category" is created between the origin of the strategy and the category. So you can reuse it later to retrieve the category easily. See AssignRoleToUser.


Behavior: DO

The category is created in the CategoryService.

 

Behavior: REDO

The category index might be updated depending on the IndexUpdatePolicy

Behavior: UNDO

The category is removed from the CategoryService.