Jappi00
Set Tenant Context in Queues and Crons
Hello together,
I currently try to support multi tenancy in my application and I wounder what is the best practice to work with it in queues and crons. I have some Actions which can be triggerd from queueus, crons and the panel. The panel topic is working but in the queue and cron part I have some problems. I have tried to archive to set the tenant with the following code:
But it seems it needs an authenticated user. Because this is missing I receiving this error in Tinkerwell:
So I have tried to login the user before and it worked but I don't think taking the first user of a team is not the best practice:
I'am not very happy with this solution. Does anybody have a hint?
1 replies
Dynamic Wizard Step
Hello together,
I have a problem and no idea how i can solve it. Basically I currently using this https://filamentphp.com/docs/3.x/forms/advanced#dynamic-fields-based-on-a-select-option to show different forms based on an select and fill an json field with this data. Now I want to apply the same method to wizards to add a dynamic schema to an wizard step. I'am currently getting this error Call to a member function getChildComponentContainer() on null. I think it does not find the getComponent because it is not in the scope of the first step.
The getSteps function looks like this:
1 replies