Skip to main content

As explained in the documentation, we have added a TFACS-style calendar from our data pool in order to determine workdays between two dates:

imageHowever, when trying to access the table from the Studio, for instance like this:

 

WORKDAYS_BETWEEN(

  MIN("_CEL_P2P_ACTIVITIES"."EVENTTIME"),

  MAX("_CEL_P2P_ACTIVITIES"."EVENTTIME"),

  WORKDAY_CALENDAR("AT_TFACS", 'AT')

)

 

we get an error message saying that the table does not exist.

 

The workaround we have done to solve this issue consists on adding the AT_TFACS table to the data model without any connection to the rest of tables in the data model:

imageThis does indeed solve our issue.

 

However, we ask ourselves:

 

  1. Is this a clean best practice?
  2. Should the table be automatically available in Studio once added as workday calendar option?
  3. What happens in the backend when adding a TFACS-style table to calendar options?

 

 

 

Hi Guillermo,

 

When a table(TFACS) is selected as the workday calendar, it is not automatically available in the studio. You need to include it the data model so it can be loaded to be used in the UI. selecting it in the calendar section only indicates the particular table to be used as a calendar.

 

Can you elaborate the 3rd question. Is TFACS-style an actual table?? If you are asking what happens in the backend when adding a TFACTS table. check the first explanation.

 

Thanks and I hope this helps

 

 


Add and configure the TFACS table in the Calendar tab as well. Then it should work.

Answering your 3rd question, this calendar allows you to define which days and working hours to take into consideration in throughput time calculation of the Process Explorer, Variant Explorer and Throughput Time Selection.


Reply