Add or remove a value or values from a multi-value field

Issue information

From user: goldin

Related to !85 (merged) !74 (merged)

Contribution record

Fork management

I am building a model (using BPMN.iO for ECA) that will add or remove values from one custom multi-value field (Field B) in a user account based on the values of another custom multi-value field (Field A) for the same user. The event is Presave content entity for entity User, bundle User.

I see only "Entity: set field value" among the action options for what I'm attempting to accomplish. It appears the "Field value" for this action is limited to one value; I have tried inputting multiple values in this field with several different delimiters, and the model then does not function (it does function with a single value). When I chain together actions – each setting a single field value – the last value in the chain is the only one added.

In the Rules module there is an action "Add an item to a list." Is there an action available to ECA that would duplicate this functionality? Or is there a delimiter I missed that allows adding more than one value to Entity: set field value? Or is there another technique I am missing?

And thank you to the team for this remarkable new toolset!

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information