Hi, I'm trying to push update that view whenever someone adds a status and I've got node.js and views node.js which adds an action to rules to dynamically update views however I can't seem to access it with any data selector. I was thinking maybe if I made an action to fetch the entity maybe it would become available but I guess statuses aren't any kind of normal entities. Do you think this is even possible?

CommentFileSizeAuthor
#2 rules-data-selection.jpg349.42 KBed523

Comments

icecreamyou’s picture

Status: Active » Postponed (maintainer needs more info)

I don't know. Looking at the code for that module I don't see any reason why it wouldn't always appear in the action list. I don't know what you mean when you say you "can't seem to access it with any data selector."

ed523’s picture

StatusFileSize
new349.42 KB

You know in rules how you have to have a data selector? Like after you add an action in this case "Select the action to add" would be Node.js views update, then it asks you for a data selector. None of the available data selectors listed have anything to do with that view is what I meant by "I can't access it (the view) with any data selector."

icecreamyou’s picture

Oh. The Statuses Rules submodule provides a data type to Rules called "statuses" which should show up in that list. If it doesn't, you probably need to load the status first.