• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is there a gateway that monitors database changes (for example, new table records?)

New Here ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

 


Hi everybody,

 

I look for a gateway that watches changes in a database (e.g., insertions of records into a table, etc.), just like DirectoryWatcher monitors in a directory for files when they are created, modified, or deleted.

 

Which of the existing CF gateways is most suited for this purpose? or might it work with a few changes???

Is there a bespoke CF gateway that does this?

 

Thank you in advance.

TOPICS
Builder , Database access , Documentation , Event gateways

Views

94

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

No cf gateway will support that. There are ways to audit such things from the db side--which makes sense all the more if you may have such db changes caused by other than the cf code.


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

Thank you Charlie for your response. You are right, through db it would much easier.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

Great to hear, and glad to help. I notice another user started the thread, how2557215989vj. Is that you as well, perhaps ?


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 31, 2022 Aug 31, 2022

Copy link to clipboard

Copied

Sounds like you want an insert trigger.  If you have a created timestamp column  you could monitor new records with a schedule task that looks for new records at some interval.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 03, 2022 Sep 03, 2022

Copy link to clipboard

Copied

LATEST

This question was asked here - almost word for word - two months ago: https://community.adobe.com/t5/coldfusion-discussions/is-there-gateway-watching-changes-in-a-databas... 

 

ColdFusion hasn't changed much since then. 🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation