SKILL EXCHANGE: Continue Discussion on Calculated Field Session
Hi Everyone ‚Äì my presentation for the Workfront Skill Exchange went live today! There were a lot of calculation examples in the presentation and I wanted to create a space here on the Community to share those so you can easily copy and paste them into your instance. Also, if you attended and didn’t get your question answered (or you didn’t attend and have questions about Calculations), you can post them here. I will try to answer them in a timely fashion
Queue Topic Section:
For Queue Topic – Queue Topic.Name
For Parent Topic Group – Queue Topic.Parent Topic Group.Name
For Parent of Parent Topic Group – Queue Topic.Parent Topic Group.Parent.Name
And here is a reminder of the structure
Extra Calculation: Combining Parent Topic Group with Queue Topic - CONCAT(Queue Topic.Parent Topic Group.Name," - ",Queue Topic.Name)
SLA Section:
To Calculate 2 days from Entry Date (with weekends) – ADDAYS(Entry Date,2)
To Calculate 2 days from Entry Date (without weekends) – ADDWEEKDAYS(Entry Date,2)
Note: If you don’t want to do full days, you need to use ADDDAYS (i.e. ADDDAYS(Entry Date,0.125) for adding 3 hours to the Entry Date)
To capture time stamp when changing to a new status for the first time – IF(Status=‘URV',IF(ISBLANK(Under Review Timestamp),$$NOW,Under Review Timestamp),Under Review Timestamp)
To capture time stamp when an assignee is first added to a request – IF(ISBLANK(Assigned To ID),User First Assigned,IF(ISBLANK(User First Assigned),$$NOW,User First Assigned))
Note: Remember you have to create the field (i.e. Under Review Timestamp) with a blank calculation first, save, and then go back and fill in the calculation.
Did you meet the SLA? – IF(ISBLANK(User First Assigned),"Not Sure",IF(SLA Deadline<User First Assigned,"No","Yes"))
Complex IF Statements Section:
Write out all the IF statements individually and then work from the bottom up replacing the missing part of the above IF statement
My statements –
IF(911 Request="Yes","Urgent",FALSE)
IF(Priority Calculation>30,"High",FALSE)
IF(Priority Calculation<10,"Low","Medium")
What it looks like after moving the last one up level –
IF(911 Request="Yes","Urgent",FALSE)
IF(Priority Calculation>30,"High",IF(Priority Calculation<10,"Low","Medium"))
What it looks like when I repeat –
IF(911 Request="Yes","Urgent",IF(Priority Calculation>30,"High",IF(Priority Calculation<10,"Low","Medium")))
