You need to sign in to do that
Don't have an account?
atharva Vispute 3
Create an apex trigger which will calculate the Actual time taken to close the Task form the time its Status is “New” to the time status is changed to “closed” and save the value in Field “Actual Time”
can anyone have solution for this
We may require an another field to track the time when the status is "new" so we can calculate the time between this and closed status. Are you okay with creating datetime field .
It is not required for the above field to be shown in the pagalayout as it is not needed.
Thanks
You have to create field of datetime to store the datetime when the status is "new".
Are you okay with creating new field?
Thanks,
Do you want the difference in hours or minutes or days. Can you confirm on it.
Thanks,
You can try below apex trigger. This will give the number of hours between new and closed(Completed).
As i asked to create field of type datetime. I have created field TaskOpened__c . Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,
The API name of the nanme is having issue it should be __c not _c. Can you chcck and update it.
Thanks,
Can you replace TaskOpned_C with TaskOpned__c and try
Thanks,
'
Is this on Task__c object and can you confirm if the field TaskOpened__c is created on it (Activity object).
Thanks,
Create workflow on Project which will check if the stagename is in “In Progress” for more than 12 days wrt Start date than change the status to “Close lost” and populate the End date as todays date
This seems to be other question. Can you post it as other question so it helps others who reviews teh question.
Thanks,