# TaskDependency offset days vs shift ratio

**URL:** <https://community.shotgridsoftware.com/t/taskdependency-offset-days-vs-shift-ratio/19311>\
**Category:** Flow Production Tracking\
**Tags:** task, task-templates, scheduling\
**Created:** [October 9, 2024, 4:43pm UTC](https://community.shotgridsoftware.com/t/taskdependency-offset-days-vs-shift-ratio/19311 "2024-10-09T16:43:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixelconductor](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/pixelconductor/32/508_2.png) [@pixelconductor](https://community.shotgridsoftware.com/u/pixelconductor)\
**Post date:** [October 9, 2024, 4:43pm UTC](https://community.shotgridsoftware.com/t/taskdependency-offset-days-vs-shift-ratio/19311/1 "2024-10-09T16:43:22Z")

</div>

Hey,  
we are currently improving our Task Templates by setting more refined dependencies and offset\_days via the API. As the offset\_days is an absolute value, we are wondering what the ‘shift\_ratio’ field on the TaskDependency entity is for. It sounds a bit like relative offsets but, we had no luck so far in changing the shift\_ratios. Having relative Task offsets would be very nice to have!  
Can anybody shine some light on this?

Best,  
Tobias

---

<div class="post-metadata">

**Author:** ![kelc](https://avatars.discourse-cdn.com/v4/letter/k/91b2a8/32.png) [@kelc](https://community.shotgridsoftware.com/u/kelc)\
**Post date:** [October 10, 2024, 5:56pm UTC](https://community.shotgridsoftware.com/t/taskdependency-offset-days-vs-shift-ratio/19311/2 "2024-10-10T17:56:55Z")

</div>

Hi @pixelconductor - the `shift_ratio` field on the TaskDependency is leftover remanent of something that was removed a few years ago. Currently the `shift_ratio` field is not actually used by Flow Production Tracking.

---

<div class="post-metadata">

**Author:** ![pixelconductor](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/pixelconductor/32/508_2.png) [@pixelconductor](https://community.shotgridsoftware.com/u/pixelconductor)\
**Post date:** [October 11, 2024, 7:42am UTC](https://community.shotgridsoftware.com/t/taskdependency-offset-days-vs-shift-ratio/19311/3 "2024-10-11T07:42:28Z")

</div>

Hi kelc,  
Thank you for the clarification.  
We will do the “relative” offsets then on our own by checking the duration and calculating the relative offset. Will not auto-update on duration changes, but hey 🙂  
Best,  
Tobias
