Expand my Community achievements bar.

How to access current entity attributes and/or increment entity attributes?

Avatar

Level 1

I haven't been able to figure out how to access the value of the current entity anywhere and can't find any explanation in the docs.

 

In this specific case, I want to track the number of times members of certain Audience have viewed an item. Right now I have an Activity which updates a boolean entity attribute once a single member of that Audience has viewed the item. However, what I want to do is get the current number of views and then increment it.

 

This is one example, but it's something I'm repeatedly running into when I need to update an entity attribute based on its current value.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies