Jive Auto-Follow Extension

Document created by tyler.whitesides Employee on Jun 18, 2014Last modified by christy.schoon on Mar 20, 2015
Version 11Show Document
  • View in full screen mode

Auto-Follow is being replaced by "News" in Jive Cloud and Jive 8.  See All About the News Feature

What is the Auto-Follow Extension?

The Auto-Follow Extension is a Jive Professional Services plugin that allows a community manager to setup a series of rules that will force-follow a user to any number of different People, Places or Blogs.  This is helpful for user on-boarding, since they will be starting with a curated set of followed items based on their role, location, or other identifiable grouping.  This prevents the "all or nothing" feeling of being a new user and having an empty Inbox and a very full Activity stream.  The extension is also great for Corporate Communications.  Setting users up to follow the CEOs blog, Legal, and HR spaces will keep everyone informed from the top down, and you can be sure that people are seeing it.


Where is the Auto-Follow Extension User Guide?

Auto-Follow Extension User Guide


How do I get this extension?

Contact your Jive Sales representative for details.


What versions is it available for?

The Auto-Follow Extension is available for Jive 6 and 7.


Is Auto-Follow available for Jive Cloud?

No.  This extension exists as a plugin and is not compatible with Jive Cloud at this time.


What happens if a user unfollows something that you have set them to follow?

The Auto-Follow rules run each time a user logs in.  So, if a user unfollows something that you have set them to follow in the rules, they will be following it again the next time that they login to Jive.


What happens if a user deletes a custom stream setup by Auto-Follow rules?

Just like unfollowing something they are set to follow, the rules are applied at the next login and the custom stream will be recreated.


What happens if I delete an Auto-Follow rule?

You have the option when deleting a rule to delete a rule and leave the associations it has already made for users, or just delete the rule for the future and leave the associations that it has created.


Can you use non-LDAP fields and groups to Auto-Follow?

Yes.  This system property needs to be set: autofollow.fields.federated = false  (No restart required)

Who can manage Auto-Follow rules?

Anyone with Manage Users permissions or above can manage the Auto-Follow rules


What happens if a user already has the maximum 10 streams?

For the users that already have the max number of custom streams, the rules will run and follow the user to the place/blog according to the rule, but will not create the custom stream.


So, lets say I have 9 custom streams for myself, and Auto-Follow rules would give me a "Regional" stream and a "Corp Comms" stream following the "Jive Satellites" group for Regional since I am remote, and "Corp Comms" would have the CEOs Blog, and Legal Blog followed to it.


When I logged in, the rules would execute in order from top to bottom.  The first rule that created a custom stream would give me my tenth and final stream, lets say "Regional" was first and got created.  When it came time for "Corp Comms" to create, that would fail out.  However, I would still be Following the places based on the rules in my connections stream.  If custom stream cannot be created, it fails back to Connections Stream.


I setup rules, but they are only working for some people

Does your community use SSO or Kerberos with a long timeout?  Rules are run at login.  Try logging a user out manually and back in again to see if the rules execute.


I have a large community.  If I create a rule, will it affect the performance of my community?

Rules are run for each user individually when they login.  When you create a rule, there is no batch operation performed at that time.  There are no performance concerns to creating rules that apply to many people, or even to creating many rules.

Can rules force Email Alerts on?

Yes.  Email Alerts can be turned on for a custom stream using an Auto-Follow rule as of 7.0-3. New


Can rules follow things to a users Inbox?

Yes.  As of version 7.0-3 you can route a rule to an Inbox.  New


Can an Auto-Follow rule join a user to a group?

Yes.  As of version 7.0-3 an Auto-Follow rule can join users to groups (including private and secret groups). New

Can I set rules up with wildcard matches?

No.  At this time the rules are exact matches.  This means that if you have a rule to match Address = USA, the rule would only work if the users address only contained the exact 3 letters of "USA".


What if a person is followed to something or added to a group based on their profile field, and their profile field changes?  For instance moving from one department to another?

Upon the next login, the person would be matched to the new rules that applied to them.  However the rules that no longer applied to them would not be undone.  For instance they would be following new things, but not unfollowing previous things.  The mappings would stay.  Likewise if a rule pushes a user into a social group, it would not revoke that membership if the rule no longer applied to that user down the line.


How does the Auto-Follow plugin store its rules?

AutoFollow has 2 database tables associated with it:

autofollowentry table

This table contains the rules for the AutoFollow plugin.  If the plugin is removed, these records stay in the database, but the rules will no longer run.


autofollowidThis contains the unique ID for the autofollow rule
timestampEpoch timestamp of when the rule was created
sourcestrategytypeThis will be all, profile_field, or user_group
fieldidWhich profile field (if any) does the rule relate to?

Which container (if any) does the rule relate to?


Which object (if any) does the rule relate to?

objecttypeWhich object type does the rule relate to?
streamnameWhich custom stream should this go into?
fieldvalueWhat is the value of the profile field (if any) does this rule relate to?


autofollowmapping table

This table contains the autofollow rules that have executed and which users it has executed for.


autofollowidThe AutoFollow rule executed
useridThe user it executed on