cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Company Shifts(timings) maintainence in Multitentant Application.

ss-10
5-Regular Member

Company Shifts(timings) maintainence in Multitentant Application.

Hi,

We are working on a multi-tenant application, where we need to save data from devices.The companies operate in different shifts and the data also needs be retrieved shiftwise.

Now what is the better way to create a Shifts.

1) Create Shift Thing for each Shift.Retreive using thingworx Services.

2) Create a DataTable(db table) and save every Shift as a row in the Table and retrieve the shifts via query.Since it is not a real world entity.

1 REPLY 1

Hello Shiva S​,

I would go with the 2nd option. It is a scalable, easy to maintain solution and also it's easier to retrieve and filter the data stored in the Table.

Please let us know how you implement it, we really appreciate your answer.

Top Tags