Rechercher

Question
· Sept 5

Ejecutar EnsLib.FTP.InboundAdapter bajo demanda

Hola comunidad.

Tengo una solicitud de un cliente que desea hacer lo siguiente.
Actualmente, tienen un proceso de carga de datos vía FTP en el que han implementado un RecordMap para almacenar la información de los archivos CSV que se suben al directorio FTP.
Ahora quieren tener otro directorio para que solo se ejecute mediante una instrucción externa, no cuando se sube el archivo.

¿Es posible crear un proceso que lea el directorio FTP bajo demanda? Es decir, que solo ejecute el servicio EnsLib.FTP.InboundAdapter cuando se lo indiquemos.
No habría problema en crear un servicio API que se encargue de recibir la solicitud de ejecución e invocar el Business Service para iniciarla.

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Sept 5

Run EnsLib.FTP.InboundAdapter on demand

Hello community.

I have a request from a client who wants to do the following.
Currently, they have a data upload process via FTP in which they have implemented a RecordMap to store the information of the CSV files that are uploaded to the FTP directory.
Now they want to have another directory so that it is ONLY executed through an external instruction, not when the file is uploaded to the directory.

Is it possible to create a process that reads the FTP directory on demand? That is, ONLY executes the EnsLib.FTP.InboundAdapter service when we tell it to.
There would be no problem creating an API service that is responsible for receiving the execution request and invoking the Business Service to start it.

3 Comments
Discussion (3)3
Connectez-vous ou inscrivez-vous pour continuer
Question
· Sept 4

Impact of SQL-Mapped Class Indexes on Legacy Programs with Direct Global Access

Hello,

I am currently maintaining a legacy application that was developed in ObjectScript and accesses data by working directly with globals.
For a new program, however, I plan to access the same global data through SQL-mapped classes.

I have two questions regarding this approach:

  1. If I define indexes in the SQL-mapped class, what potential impact (if any) could this have on the existing legacy application that directly accesses the globals?
  2. I’ve read that when an index is defined in an SQL class, it will not be automatically updated if data is modified directly in the global (outside of SQL operations). Is this correct?
    • If so, what are the common or recommended solutions to ensure index consistency in such cases?

Thank you for your guidance.

1 Comment
Discussion (1)3
Connectez-vous ou inscrivez-vous pour continuer
Question
· Sept 4

Regex search for Z09 or any string of A-Z followed by 0-9 0-9

..Contains(source.{ORCgrp(x1).OBRuniongrp.NTEi2(x2):Comment(x3)},"(")&&..Matches(source.{ORCgrp(x1).OBRuniongrp.NTEi2(x2):Comment(x3)},"^[A-Z][0-9][0-9]$")

I want to do this to match strings such as X98. Community AI tells me this is correct but I get an error in testing. Specifically, this is the part causing the error;
..Matches(source.{ORCgrp(x1).OBRuniongrp.NTEi2(x2):Comment(x3)},"^[A-Z][0-9][0-9]$")


What do I need to change?

1 Comment
Discussion (1)2
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Sept 4

Be Part of Our 10-Year Anniversary Video!

This year, our InterSystems Developer Community turns 10 years old — and we’re inviting YOU to take part in the celebration!

We’re creating a special community video filled with greetings and memories from members worldwide. Want to join in? It’s simple:

▶️ Record a short clip (1-2 mins) where you:

  • Share a favorite highlight or memorable moment from your time in the Developer Community
  • Send your congratulations on the 10th anniversary 🎊

We’ll combine the contributions into one big celebratory video for everyone to enjoy! 🎬✨

👉 Click here to record your video 

It only takes a couple of minutes — just follow the on-screen prompts; no setup is required. Once you’re done, we’ll automatically receive your video.

Don’t miss your chance to be featured in the official 10th anniversary celebration! 🥂

20 Comments
Discussion (20)7
Connectez-vous ou inscrivez-vous pour continuer