Hi, all.
I would like to ask about the Scheduling Gantt Chart widget.
I would like to set a custom action type as schedule save action. However, when I move the puck on the Gantt Chart, the action execution have failed. Then, error messages show as follows:
“Failed to allocate pucks”
“Save handler is missing required parameters”
I guess the cause is that the selected puck of the “Schedule” object is not stored in the variable of the “modify schedule” function. Could you teach me the resolution of the error?
“modifySchecule” action type overview
Dynamic Scheduling setting
Hi @HirokiTatemichi !
Happy to help! I would like to debug with you what may happening.
Can you do the following for me:
- Can you confirm that the Scheduling Gantt widget is set up to use this save handler? Follow the below steps:
a. First, navigate to the scheduling widget’s config in your Workshop.
b. In the widget config, open the Schedule Layer (puck) that you would like this save handler action to be applied to on drag and drop.
c. In this part of the config, you should see a place to add your Save Handler. Please add your action to this input. See image below for an example.
- Can you confirm the required typeclasses are present on your Action form’s start and end timestamps? Follow the below steps:
a. First, navigate to your save handler Action Type in Ontology Manager (your first screenshot).
b. Next, open the start timestamp form input and navigate to its “Details” tab.
c. In the Details tab you should see a typeclass schedules : schedulable-start-time
. If it’s not there, add it.
d. Repeat this for end timestamp form input. It should have the typeclass schedules : schedulable-end-time
. See image below for an example.
Both of my above images are based on a notional example of scheduling shifts.
Let me know if any questions or if this resolves your issue. Thank you!
Best,
Molly
Hi, @MollyCarmody . Thank you for your support.
I set it up as you told me and it was done!
Thank you very much.
Best regards, Tatemichi.