I am working on a Leave Application System using Sharepoint. I have added the total leave each user have in their user profile.
The user will apply leave and once it is approved, the leave taken will be deducted from their user profile. The workflow is done using the Approval Template.
So the question now is how do I proceed from here? How can I have the last step in the approval process to update the user profile total leave? Do I have to create a web part? If so, how I can pass parameter into web part from the approval workflow so that I can do the deduction?