How SLA can have dynamic Duration for each catalog task

sumitjumale
Kilo Contributor

Hi All,

I have duration variable on catalog item. We need to give value in that variable for SLA duration. SLA is going to get attached to catalog task. I have created one field on task to get the value of duration variable on task. I have created one SLA. I want to attach this SLA to task. but the duration of sla should be populated by duration field of task.

Please help me to resolve this issue.

I have used one logic. I have created one before business rule which will alter the value of sla duration   every time when we enter the record in sc_task table.   But when I have multiple task for multiple RITM, latest value of duration field of SLA is reflecting in all task of different RITM.

I dont want to create separate SLA for each task.

Regards,

Sumit

5 REPLIES 5

Dominik Simunek
Tera Guru

Hi Sumit,



There is similar thread: Fetch SLA Duration Value Dynamically



I believe you need to use Relative Duration for that and write a script to 1) retrieve the duration from the field, 2) use DurationCalculator to calculate the SLA. As I mentioned in the thread above, be aware that relative duration SLAs do not support pause duration by default - so consider if this is an issue for your use case.



Best regards,


Dominik