Answers.Body: <p>Assuming you have server permissions to implement this, I think a binary log is the best approach.  Turn on binary logging at <strong>Administer menu > System Settings > Misc</strong> by setting "Logging" to "Yes".</p>
  
  <p>At this point, you'll have a complete history of who made what changes in a SQL table called<code>log_civicrm_activity</code>.  To add a "visible change log" to the activity is a little trickier - you can probably write a custom report pretty easily, but to add the data directly to the activity page, you'd need to create a small extension that injected the data onto the activity.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-11T21:31:33.833Z
Answers.Text: I'll look at this. Sounds like it might be best option. I'm see if it presents the info i want and go from there.
Answers.UserDisplayName: frTommy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-11T23:43:51.243Z
Answers.Text: wondering if just writing a php script and appending it to the activity template and having it determine if the activity type is XX would be just as good? utilizing the method described here http://wiki.civicrm.org/confluence/display/CRMDOC/Page+Templates  under the Appending jquery and other code
Answers.UserDisplayName: frTommy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-11T15:13:40.397Z
Answers.LastActivityDate: 2015-09-11T15:13:40.397Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I'm thinking something like the following:</p>
  
  <ol>
  <li>Employee enters an activity entitled Check Request and submits it.</li>
  <li>It is automatically submitted to his/her supervisor(based on preconfigured rule).</li>
  <li>Supervisor either approves request whereby it automatically goes to appropriate person to cut the check. If denied then it is assigned back to the employee. </li>
  </ol>
  
  <p>I can deal with it not doing the assigning automatically but it does need some way to show that each level signed off on/approved the request. Just having each person put a comment in the Description section of the activity is not enough because it could easily be "cheated" by the employee just putting in comments. What's the best suggestion on having some sort of "approval history" for an activity?</p>
  
  <p>Just a note: CiviCase is wayyy overkill for this. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-11T08:38:22.130Z
Comments.Text: My first thought is to use statusses for this. Request approval, approval denied etc... And that each supervisor has a report with the activities with a certain status. If you want to fully automate this process you could have a look at CiviRules.
Comments.UserDisplayName: Jaap Jansma - CiviCooP
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-11T12:04:29.377Z
Comments.Text: Yes but that doesn't show a history of who approved it each time. Basically that activity needs to have a visible change log on it.
Comments.UserDisplayName: frTommy
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-11T21:26:09.953Z
Comments.Text: why don't you try creating an new activity when the status gets changed - by this way you can easily differentiate the activity by the user who has changed the status - sorry if I am wrong
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Tags: <activities><permissions><workflow>
Title: How would one go about creating a workflow for activities?
ThreadText: # How would one go about creating a workflow for activities?
  
  (Asked by: username_0 on 2015-09-11)
  
  I'm thinking something like the following:
  
  1. Employee enters an activity entitled Check Request and submits it.
  2. It is automatically submitted to his/her supervisor(based on preconfigured rule).
  3. Supervisor either approves request whereby it automatically goes to appropriate person to cut the check. If denied then it is assigned back to the employee.
  
  I can deal with it not doing the assigning automatically but it does need some way to show that each level signed off on/approved the request. Just having each person put a comment in the Description section of the activity is not enough because it could easily be "cheated" by the employee just putting in comments. What's the best suggestion on having some sort of "approval history" for an activity?
  
  Just a note: CiviCase is wayyy overkill for this.
  
  **Tags:** activities, permissions, workflow
  
  > **Comments:**
  > **username_1**: My first thought is to use statusses for this. Request approval, approval denied etc... And that each supervisor has a report with the activities with a certain status. If you want to fully automate this process you could have a look at CiviRules.  
  > **username_0**: Yes but that doesn't show a history of who approved it each time. Basically that activity needs to have a visible change log on it.  
  > **username_2**: why don't you try creating an new activity when the status gets changed - by this way you can easily differentiate the activity by the user who has changed the status - sorry if I am wrong  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2015-09-11. Score: 1 | Accepted answer
  
  Assuming you have server permissions to implement this, I think a binary log is the best approach. Turn on binary logging at **Administer menu > System Settings > Misc** by setting "Logging" to "Yes".
  
  At this point, you'll have a complete history of who made what changes in a SQL table called`log_civicrm_activity`. To add a "visible change log" to the activity is a little trickier - you can probably write a custom report pretty easily, but to add the data directly to the activity page, you'd need to create a small extension that injected the data onto the activity.
  
  > **Comments:**
  > **username_0**: I'll look at this. Sounds like it might be best option. I'm see if it presents the info i want and go from there.  
  > **username_0**: wondering if just writing a php script and appending it to the activity template and having it determine if the activity type is XX would be just as good? utilizing the method described here http://wiki.civicrm.org/confluence/display/CRMDOC/Page+Templates  under the Appending jquery and other code  
  
  ---
  
  