How-to · Hoopla
Stream newsflashes using formula field values in Hoopla
Trigger a streaming newsflash from a calculated value by having a Salesforce workflow write your formula's result into a standard field.
When to use this
Section titled “When to use this”Streaming Newsflashes use Salesforce’s “Streaming API” to track changes on individual records based on customized criteria. Unfortunately, Salesforce does not support formula fields in the queries involved with each “Push Topic”.
If you are trying to use a formula field in your Streaming Newsflash criteria, you will get an error because it is not supported. However, you can work around this by creating a new field on your object, which is updated by a Salesforce workflow. Here’s how!
Legacy Workflow Rules: Salesforce ended support and updates for Workflow Rules on December 31, 2025. Existing rules can still be edited and activated; new automations should use Flow Builder. Use these legacy steps where available. If New Rule is unavailable, ask your Salesforce admin to implement the field update in Flow Builder. See Salesforce workflow guidance.
Create a Field Updated by a Workflow
Section titled “Create a Field Updated by a Workflow”-
In Salesforce Setup, navigate to App Setup > Customize and select the object upon which your Streaming Newsflash is based.
-
Click Fields to see a list of fields on your object.
-
Click New to create a new field.
-
Specify the field type. For example, select Currency if the number you’re seeking to use in your criteria is a currency.
-
Give the field a label, and save**.**
Create a Workflow Rule
Section titled “Create a Workflow Rule”-
Navigate toCreate > Workflow & Approvals > Workflow Rules.
-
Click New Rule.
-
Select the object upon which your Streaming Newsflash is based.
-
Give the rule a name.
-
Specify the rule criteria. Example: if you want to update a certain value when a deal is won, add “Won equals True”.
-
Save your new rule.
Add a Workflow Action
Section titled “Add a Workflow Action”After creating your workflow rule, you can add your workflow action.
-
Click Add Workflow Action and New Field Update.
-
Give it a name, and select the field to update.
-
For options, select “Use a formula to set the new value”.
-
Enter the formula that gives you the value you need. Copy it from the original formula field if appropriate.
-
Save your changes.
-
Return to the workflow rule detail page and click Activate. Confirm that the rule is active before testing it.
-
In Hoopla, use the new standard field in your streaming Newsflash criteria and save the configuration.
Verify
Section titled “Verify”Confirm the workflow rule is active, then update a test record that meets its criteria. Check that the standard field receives the calculated value and that the Hoopla Newsflash fires when its criteria match.
If it doesn’t work
Section titled “If it doesn’t work”Check the rule’s active status and evaluation criteria, the field-update formula, and that Hoopla references the standard field rather than the formula field. Ask your Salesforce admin or Hoopla support for help if the field does not update.
Related articles
Section titled “Related articles”- Create a Salesforce streaming newsflash in Hoopla Trigger real-time newsflashes on your Hoopla TV channels when individual Salesforce records, such as closed opportunities, meet your criteria.
- Troubleshoot a streaming newsflash that won’t appear on your TV channel Work through the channel, player, watcher, criteria, and Salesforce API checks when a streaming newsflash won’t show.
- Supported objects for streaming newsflashes in Hoopla See which Salesforce standard and custom objects you can use in PushTopic queries for Hoopla streaming newsflashes.
Still having trouble?
Email our support team.