You need to sign in to do that
Don't have an account?
sieb4me
worflow triggering and count
Hi,
Is it possible to have some kind of counter field on object which is updated and added whenever workflow is triggered on that object.
Example we want to know how many times workflow sent email when case status field was set to closed.
We have workflow on case object which sends survey email alert when case status is closed. We wish to count how many such emails were sent or rather how many times workflow was called to send email.
Thanks
Is it possible to have some kind of counter field on object which is updated and added whenever workflow is triggered on that object.
Example we want to know how many times workflow sent email when case status field was set to closed.
We have workflow on case object which sends survey email alert when case status is closed. We wish to count how many such emails were sent or rather how many times workflow was called to send email.
Thanks
this is the formula that i used:
PRIORVALUE(Counter__c) + 1
this will then add when each time a case is close - so if a case is closed then reopened then closed you will get the number 1.
for a cumulative total across all case just create a report on that field which is a summary and total the counter column.
hope that makes sense.
dan
All Answers
then update the workflow that sends the email with a field update that has a value of fieldname + 1
thanks
dan
this is the formula that i used:
PRIORVALUE(Counter__c) + 1
this will then add when each time a case is close - so if a case is closed then reopened then closed you will get the number 1.
for a cumulative total across all case just create a report on that field which is a summary and total the counter column.
hope that makes sense.
dan
can we have customers use template and salesforce considers whats in template and logs case so that case fields are populated as per what customer seleected like P1 for severity, etc.
URGENT P1
this should get you going..
or something like that - might be typos in there but hopefully that points you in the right direction..
lets say if we have 4 fields like this in email body which customer has sent to us assuming anything in the brackets is field name[ ]
[severity]
P1
[Project]
0-100
[Area]
install
you can post your answer here to following link since i posted question for this on that link, so i can mark it as best answer
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AWZgIAO
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AWajIAG