# Dynamically defined on property option in SLA rule  is not stoping the user to work on assignment.

**URL:** <https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504>\
**Category:** General\
**Tags:** pega-academy, case-management, pega-platform\
**Created:** [June 17, 2021, 7:00am UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504 "2021-06-17T07:00:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ram](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@Ram](https://forums.pega.com/u/Ram)\
**Post date:** [June 17, 2021, 7:00am UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/1 "2021-06-17T07:00:38Z")

</div>

Hi,

I have created SLA rule and setting up datetime to datetime property called “.SLADateTimeS” and setting value @addToDate(@CurrentDateTime(),1,0,5,0) .

I am using Dynamically defined on property option in SLA rule expecting the assignment should not be available for operator to work on that. but, it is not stoping the user to work on assignment.

Attached the screenshots. i am using pega 8.6 academy clould system.

Please let me know if i am missing any setting.

Many Thanks

–Ram–

[SLA.docx](https://forums.pega.com/uploads/short-url/7IAtrYmW586gls4wJ43d7cqW8ZU.docx) (168 KB)

---

<div class="post-metadata">

**Author:** ![HariPriyaY](https://avatars.discourse-cdn.com/v4/letter/h/58f4c7/32.png) [@HariPriyaY](https://forums.pega.com/u/HariPriyaY)\
**Post date:** [June 17, 2021, 8:22am UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/2 "2021-06-17T08:22:35Z")

</div>

@…Ram…  
SLA rules are used to ensure timely completion of the cases and assignments but not to prevent or restrict the user from performing an assignment. To prevent or restrict the user from performing an assignment, you can use privilege on that particular flow action

---

<div class="post-metadata">

**Author:** ![Ram](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@Ram](https://forums.pega.com/u/Ram)\
**Post date:** [June 17, 2021, 8:51am UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/3 "2021-06-17T08:51:21Z")

</div>

@HariPriyaY

I am implementing this. … can you advise the steps pls

## Delayed service levels

When a case reaches an assignment, the system creates an assignment. However, in some cases, a user cannot start work on the assignment immediately. In these cases it is beneficial to delay the processing of a service-level agreement (SLA) to account for assignments that are not immediately ready for users.

For example, a stock brokerage company establishes a deadline of two hours to price assets in customer accounts. Associates cannot begin pricing assets until after the stock market closes for the day at 4:30 P.M. Even if the case reaches the assignment earlier in the day, the system does not send the assignment to the associate’s worklist until 4:30 P.M. The deadline is 6:30 P.M.

---

<div class="post-metadata">

**Author:** ![Ram](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@Ram](https://forums.pega.com/u/Ram)\
**Post date:** [June 17, 2021, 5:41pm UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/4 "2021-06-17T17:41:11Z")

</div>

@…Ram… I tried on Pega 8.5 on my Laptop. But, it is not working. i am able to access the assignment and complete the same by submitting.

 ![SLA.jpg](https://pega1.discourse-cdn.com/pega/original/2X/a/ab9ce0857c0053375b191178e57bc227d6a0b2fc.jpeg)

---

<div class="post-metadata">

**Author:** ![Bipul\_Singh](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/bipul_singh/32/3985_2.png) [@Bipul\_Singh](https://forums.pega.com/u/Bipul_Singh)\
**Post date:** [June 20, 2021, 10:12pm UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/5 "2021-06-20T22:12:54Z")

</div>

@…Ram… This understanding is not correct that if you use SLA defined on a property, it will not allow you to access the assignment. Pega doesn’t stop user from accessing the assignment, it just doesn’t start calculating the SLA unless and until the assignment reaches the time defined on property used for “Assignment available on” option.

Hope this clears your understanding.

---

<div class="post-metadata">

**Author:** ![imGaurav](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/imgaurav/32/23708_2.png) [@imGaurav](https://forums.pega.com/u/imGaurav)\
**Post date:** [June 21, 2021, 1:44am UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/6 "2021-06-21T01:44:28Z")

</div>

@…Ram… In this case you can update the current flow to have a wait shape time reference and set the date time as 4.30 PM and uncheck the checkbox to continue process and then on the current assignment you still use the SLA for that assignment completion goal and deadline.

---

<div class="post-metadata">

**Author:** ![Ram](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@Ram](https://forums.pega.com/u/Ram)\
**Post date:** [June 21, 2021, 2:42pm UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/7 "2021-06-21T14:42:21Z")

</div>

@Bipul Singh HI Bipul, it is calculating SLA.

---

<div class="post-metadata">

**Author:** ![Ram](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@Ram](https://forums.pega.com/u/Ram)\
**Post date:** [June 21, 2021, 2:44pm UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/8 "2021-06-21T14:44:41Z")

</div>

@gasharma my point is.. the feature should work with out alternative solution.

---

<div class="post-metadata">

**Author:** ![imGaurav](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/imgaurav/32/23708_2.png) [@imGaurav](https://forums.pega.com/u/imGaurav)\
**Post date:** [June 22, 2021, 2:06am UTC](https://forums.pega.com/t/dynamically-defined-on-property-option-in-sla-rule-is-not-stoping-the-user-to-work-on-assignment/1504/9 "2021-06-22T02:06:31Z")

</div>

@…Ram… I don’t understand what is mean by alternate solution, adding a wait shape is a delayed service level. You can check in the service-level-agent record when a wait shape is added it makes an entry there and wait until the wait condition get completed.

On the point of SLA rule: they do not handle the assignment creation and there purpose is to make sure that once the assignment is created how much time they want to give to complete that following task.

1. Start the user time at the point of creation

2. Add Time after some time

3. Add Time based on the property.

That is the general rule of SLA and i.e. service level for the following task.
