- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 10:38 AM
Hi,
SLA is not getting attached to the catalog task, whenever we use a ritm fields in the start condition.
However, when we update something on the task form, the SLA gets attached.
Can anybody tell me why this is happening ?
Thanks
Kevin
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 01:15 PM
So after I did some further investigation in to this...using "Variables" from the "Show related fields" selection is fine, there is no dot-walking to Requested Items > Request Item fields, etc. for variables.
What appears to be happening is a "timing" issue. Somehow with the task being created through the workflow, the way it's all happening, it seems to be having an issue with recognizing that your conditions are met when the task is being created initially. So for you, when you update "anything" on the catalog task, the SLA definition gets evaluated then and voila...the SLA or SLAs appear.
The fix that I've found for this is to make this change to the way your SLAs process. If you go to Service Level Management > SLA Engine and then check this box to be "Yes" for the "Execute the 2011 SLA engine asynchronously", this will allow your SLAs to work appropriately for catalog tasks:
OOB, it is not checked. Which means that the SLA engine is set to run immediately when a task is inserted or updated. For some reason, for catalog tasks (so far that I've found) being created from a workflow, this appears to cause an issue. So checking it yes, allows for a scheduled job to be ran instead that will then query for SLAs definitions that it meets and use those. That little bit of buffer, seems to be just enough time for this to work.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 11:01 AM
Yes, the conditions are met when the task is created.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 01:15 PM
So after I did some further investigation in to this...using "Variables" from the "Show related fields" selection is fine, there is no dot-walking to Requested Items > Request Item fields, etc. for variables.
What appears to be happening is a "timing" issue. Somehow with the task being created through the workflow, the way it's all happening, it seems to be having an issue with recognizing that your conditions are met when the task is being created initially. So for you, when you update "anything" on the catalog task, the SLA definition gets evaluated then and voila...the SLA or SLAs appear.
The fix that I've found for this is to make this change to the way your SLAs process. If you go to Service Level Management > SLA Engine and then check this box to be "Yes" for the "Execute the 2011 SLA engine asynchronously", this will allow your SLAs to work appropriately for catalog tasks:
OOB, it is not checked. Which means that the SLA engine is set to run immediately when a task is inserted or updated. For some reason, for catalog tasks (so far that I've found) being created from a workflow, this appears to cause an issue. So checking it yes, allows for a scheduled job to be ran instead that will then query for SLAs definitions that it meets and use those. That little bit of buffer, seems to be just enough time for this to work.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2020 08:07 AM
Hi, just wanted to share that we encountered the same issue and this solution solved it so wanted to send my appreciation as this had us scratching our heads for a while!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2020 08:08 AM
Thanks! Glad it helped 🙂
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2021 02:32 AM
Awesome. It worked for me as well. Thank You!