you have predefined properties for goal,deadline in pega. if you want to set those properties dynamically in aflow during the prerocessing of the flow you can use them and set them using a data transform and activity based on the requirement.
1. If you are debugging an assignment level SLA you can see the name of the SLA, goal, and deadline times in the assignment page. For an overall work object SLA, you can check the data on pyWorkPage or the OverallSLA flow page. You can also check the queue item that is generated and trace the ServiceLevelEvents agent if needed.
2. The pxAdjustSLA and pxAdjustSLATimes activities can be useful if you need to change an SLA that has already been applied. Or, if you need to set the SLA goal and deadline dynamically initially, you could base it off of a property value that you set.