You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a schedule in Tableau Server which is set to run on a Monthly basis: Every 11ᵗʰ, 12ᵗʰ, 16ᵗʰ, 24ᵗʰ, 26ᵗʰ day of the month, at 5:05 PM.
When I use the below code to retrieve the specific schedule
with server.auth.sign_in(tableau_auth): #print(id) sch_item = server.schedules.get_by_id('xxx') print(sch_item.name)
It results in an error: ValueError: Invalid interval value for a monthly frequency: Customized Monthly.
I've used the Tableau REST API directly to see what the is output in the XML, where I see the interval monthDay is Customized Monthly.
I'm assuming there isn't a way to display the actual dates for the schedule, but does the interval item code need to be updated to handle the value of "Customized Monthly"?
Versions
Details of your environment, including:
Tableau Server version 2022.1.20
Python version 3.11.4
TSC library version 0.30
The text was updated successfully, but these errors were encountered:
I have a schedule in Tableau Server which is set to run on a Monthly basis: Every 11ᵗʰ, 12ᵗʰ, 16ᵗʰ, 24ᵗʰ, 26ᵗʰ day of the month, at 5:05 PM.
When I use the below code to retrieve the specific schedule
with server.auth.sign_in(tableau_auth): #print(id) sch_item = server.schedules.get_by_id('xxx') print(sch_item.name)
It results in an error:
ValueError: Invalid interval value for a monthly frequency: Customized Monthly.
I've used the Tableau REST API directly to see what the is output in the XML, where I see the interval monthDay is Customized Monthly.
<schedule id="f059d794-90dc-40d0-bfad-2ca78e437369" name="TEST MONTHLY SCHEDULE MAK" state="Active" priority="50" createdAt="2024-03-13T17:05:01Z" updatedAt="2024-03-16T16:05:14Z" type="Extract" frequency="Monthly" nextRunAt="2024-03-24T16:05:00Z" executionOrder="Parallel"><frequencyDetails start="17:05:00"><intervals><interval monthDay="Customized Monthly"/></intervals></frequencyDetails></schedule></tsResponse>
I'm assuming there isn't a way to display the actual dates for the schedule, but does the interval item code need to be updated to handle the value of "Customized Monthly"?
Versions
Details of your environment, including:
The text was updated successfully, but these errors were encountered: