You need to sign in to do that
Don't have an account?
sfdc@isha.ax1814
Urgent Requirement:Help to write the trigger
Hi, I have one feedback__c object and having status picklist field
status values are open,draft,pending reply and pending submiter
we have extra fileds created to capture the time difference opentat__c,replytat__c etc
my requirement is i want to do calculate time difference and display in hours when the status is changed to open to draft --- stored in the opentat__c filed
pendingreply to pending submitter---replytat__c
pending submiter to open ---opentat__c
please anybody help me out to resolve this .
Regards,
Isha
Instead of Trigger you can use workflow,
set condition when it changes from open to draft for field update and calculate difference between the CreatedDate and LastModified Date
HI shabbir
actually here we ahve to crete 7 formules so difficult write 7 seperate workflows.so we are planing to write trigger and put everything in the single trigger.
Hi Vidhya,
your understanding is bit correct actually when we are updating on Feedback object with status field changes then need to capture the time between two status value for ex:As i mentioned from status value is open to draft then the difference time will be captured and put into the opentat__c field for firsttime only means if opentat__c filed is not empty then it will not fire like that we have to capture replytat__c and opentat__C.
Regards,
Isha.