Manual workflow for activities

Manual workflow for activities

Post by Chris » Thu, 17 Jan 2008 00:52:54


I have noticed that many people want to run manual workflow rules
against activities, such as marking a whole lot of email activities as
COMPLETED, but have been frustrated that there is no ApplyRule option
on the activities grid toolbar, meaning you have to drill into each
one to get the menu option. Does anyone know why? Anyway, I decided to
add a button right back there and try it - well it appears to work!

Simply use the following function on loading the home_activities.aspx
page.
<script>
function addApplyRuleBtn(){
//var t = document.getElementById("mnuBar1");//get the toolbar
d = document.getElementById("_MBdoActioncrmGrid4200delete");
ar = d.cloneNode(true);
ar.id = "_MBdoActioncrmGrid4200applyrule";
ar.title = "Apply Rule";
ar.action = "doAction('crmGrid', '4200', 'applyrule')";
ar.firstChild.firstChild.src="/_imgs/ico_18_4212.gif";
d.parentElement.appendChild(ar);
}
</script>

Of course this is unsupported, but really quite minimally invasive.
Comments?

Chris
 
 
 

1. triggering a workflow activity when another workflow is finished

2. Workflow Activity send email which has a link to the Activity.

I create an Activity, which runs a Workflow which send an email. But I cannot
see how to set a link to the Activity in the email. The properties available
in the Email designer do not include a link to the Activity.
Corrent me if I am wrong, but it seems I must add an attribute (URL) to
each of the Activity Entities ( Email, PhoneCall, etc ), then a PostCreate
plugin which generates the url of the new Activity and assigns this URL to
the Activity. Then when the Activity Workflow fires it will have the link to
itself to put in the Email.

3. State Machine Workflow - Delay Activity firing multiple times

4. workflow: custom object instance as a parameter or property in custom activity

5. Information on creating a custom Activity for SharePoint workflow

6. Could not load file or assembly error dropping a Workflow Activity

7. Can a workflow start when you save/close an activity?

8. Workflow emails in CRM 3.0 stuck as open activity

9. Workflow: assigning activities to another users

10. Workflow Error when updating field from custom activity property - PersistenceException

11. Workflow : Wait activity condition does not work

12. Workflow Error when updating field from custom activity property - PersistenceException

13. Create activity by workflow

14. WWF Workflow changes committed but Activity.Execute() not called

15. workflow: custom object instance as a parameter or property in custom activity