I have a process in my solution that running from SmartClient takes about 7 minutes. It´s just a loop on a foundset that creates records in another foundset.
Due to that performance issue with SmartClient I have been adviced to use a headlessclient that runs that process at the server side.´That´s good and seems to be a great option because after some tests I see the speed is good enough.
Of course those tests were in sample data tables and not in real tables and here are where the doubts arise.
My tables have a tenantID field that has an autoenter value base on a global variable that is set when the user logins. I will have to pass those variables to the headlessclient and set them into that solution variables so it can work, am I right? Where are those parameters received in the headlessclient solution?
Now think that I create one headlessclient per solution and two different tenants run a process, the same or different process in that HLC solution, what would happen with those global variables, will each user have its own value or they will have the same value?
Is there a way to know where the process is? I see there is a callback function that is called when the process finishes, but can I check how the process is doing to show the user a progress of it?
Thanks.