Start Data Feed via form-based button
I want to provide users the option to run a data feed. To do this I will need a record-based custom button, then link that button to my data feed.
I see this is possible via some out of the box workflows, but I've not yet found a way to select a feed to run.
Alternatively - if the same can be achieved via good old custom objects, I'll settle for that.
Looking for suggestions.. thanks.
- advance workflow
- Community Thread
- custom button
- Data Feed
- Forum Thread
- RSA Archer
- RSA Archer Suite
- Tips and Tricks
This is generally not recommended for several reasons. If you have multiple users wanting to start the DF simultaneously, you may run into a conflict and the df running several times back to back w/o any actual purpose/results If a user is impatient and not seeing results immediately, you'll have the "pedestrian at the crosswalk" when they just keep pressing the button.
It's much safer to schedule the DF. While it's allowed, you can schedule them on 1 minute increments. But also not a great idea. Even if there's nothing to do the DF is going to generate log entries. And if it's a series, every DF in the series will generate entries.
Can what is need not be taken care of with calcs or x-ref calcs?
Some things to consider before you get too far down this path.
What is the use case for the data feed? Curtain use cases can be resolved by bulk create reference if the data feed is doing a "grouping and creating a new record with them xrefed” type process.
I think as an alternative, you could look into having the record appear on a report that a data feed uses as the source.
Have that data feed run at a given interval, then within your record, have a "status" showing the user that data feed is processing and they need to wait for the data feed to complete.
If you're using AWF, I wonder if you could just have an AWF button that will update a value on the record making it appear on your filtered data feed report. The layout, after the button, is clicked could be just a message showing "data feed is running" (or not depending on what you want).
Then, in the AWF have the await node check for the value of that field. when the value changes, then you can advance workflow....
Then, when the data feed runs, have it update that field removing it from your report and the await node should advance the record in the worfklow.
If you don't want to use AWF for this, I feel you could still accomplish with radio buttons, dde's, etc.
There may be other options like using API to check status of the data feed, but I think you can accomplish the ask without custom coding.