Posted: 7 Jul 2016 1:22 EDT Last activity: 3 Aug 2016 5:28 EDT
Update Goal and Deadline Values Dynamically-SLA
WO has an SLA and initially the SLA has goal and deadline values of x days.
I need to pass the updated goal and deadline values for the SLA rule based on change of drop down values on the 1st screen itself.(all the new goal and deadline vales are fetching from a data table)
Please suggest me how to achieve this updated goal and deadline values are taken into effect for the WO.
I need to pass the new goal and dead line values to the existing SLA rule on changing the dropdown value(override the default goal and deadline values) automatically.not through local action or flow action.
If you want to do it directly during change of the value on your section rather than using another flowaction ( pyAdjustAssignmentSLA etc ) then you can think of using the Adjust Assignment SLA API in your onChange activity itself. This API applies a Service Level rule to an existing assignment enabling the change of SLA properties on the assignment -- e.g., goal time, goal action, urgency boost, etc.
This pxAdjustSLATimes does not seem to work (in Pega 7.1.9 with property .pyAdjustSLATimes=Fixed) and breaks pyWorkPage. Are there any prerequisites for using this activity as pre-processing action that you know of?