How to create custom calculated job number field? | Community
Skip to main content
tb011018
Level 2
June 8, 2020
Question

How to create custom calculated job number field?

  • June 8, 2020
  • 6 replies
  • 3044 views

I found a few old threads that touch on this but I haven't been able to find a complete solution. We use job numbers to track and store production files. The Reference Number in Workfront is not suitable as we have no control over starting number or how it is calculated. I created a field in a custom form but I'm manually entering this number into the field. It would be great if Workfront could calculate this when the issue is converted to a project. It would follow this logic: year + "-"+ (last job number used +1)

e.g. Project A in the year 2020 = 20-1001, Project B in the year 2020 = 20-1002 Project C in the year 2021 = 21-1003 etc.)

Does anyone have any text formulas that would work for this?

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

6 replies

June 8, 2020

I don't have an answer but definitely looking for the same/similar option for our team. If you receive a good solution please post.

Level 5
June 9, 2020

This problem keeps coming up for many users, and I wish Workfront would re-visit this topic. There was an Idea on the Exchange about it that got shot down a while back:

https://one.workfront.com/s/idea/0870z000000PSAoAAO/detail

We also would like something to work like that. I have pretty much resigned to the fact that we can't do what you are suggesting without manual control of the project numbers or investing in an add-on (https://store.atappstore.com/product/ubercalc/), and that is something we aren't willing to do. Time and money are finite resources for us.

We have a calculated field that incorporates the year and 2 custom form fields that include a department number and a campaign number. Then we add the project reference number, but this solution is starting to get unwieldy as the reference number is now 6-digits long.

RandyRoberts
Community Advisor
Community Advisor
June 9, 2020

I have asked for a long time for an iterative number field type to no avail. I am surprised that Workfront has not addressed a job number solution since every company I've ever known uses job numbers. After just 2 years in Workfront our reference numbers were in the 7 digit range due to go to 8 characters in the next 2 years. It would be nice if projects got their own sequential reference numbers. It is impossible to get sequential job numbers due to the way Workfront reserves numbers for objects.

Doug_Den_Hoed__AtAppStore
Community Advisor
Community Advisor
June 10, 2020

Hi Teresa (et al),

I invite you to consider our UberCalc solution, which can generate the next (well formatted / sequential) Job Number, either on schedule (eg every hour in, the background), or in real time (eg on button click from right within Workfront).

Regards,

Doug

Level 10
June 10, 2020

You can see in the link Leah posted that I griped quite vocally about this in the Idea Exchange, apparently to no avail, despite even spelling out how an advanced, flexible, customizable version of this could work. And we griped to our implementation specialist and our account rep pre-launch.

Like others, we weren't willing to invest in an add-on (sorry Doug!).

So we opted to use the "ID" fields as our project and task numbers. Not having them absolutely sequential confuses new people to our group and finance ("Where did all the missing Projects go?"), but we had little choice.

And as Randy said, these are going to escalate to alot of digits over time. Maybe by then WF will have given us what we need (or we moved on to another product…).

I have a looong list of "Why the heck is this obvious thing missing?" items, but this one is probably in my Top 5 because it seems like low-hanging fruit for WF.

MoniqueEvans
Community Advisor
Community Advisor
June 15, 2020

My teams didn't care too much that the numbers weren't sequential so I was able to create a calculated field that pulls in the last two digits of the entry date's year, the project reference number, and a 3 letter code for the project's group ID with hyphens in between each.

For example: 20-572801-GDS so that way we can easily identify the project by a number and division.

tb011018
tb011018Author
Level 2
June 16, 2020

Thanks Monique!

Though this solution won't fix my issue for a specific number, it may be helpful to others looking for a unique identifier. Could you please share the steps you took for creating this calculated field?

MoniqueEvans
Community Advisor
Community Advisor
June 16, 2020

Sure. I created two calculated fields

  • Project Number
    • CONCAT(RIGHT(YEAR(Entry Date),2),"-",Reference Number,"-",Project Team Code)
  • Project Team Code
    • IF(Group ID="GROUP1IDNUMBER","GROUP1CODE",IF(Group ID="GROUP2IDNUMBER","GROUP2CODE"))
    • This can go on for hundreds of groups
    • Be sure to include every necessary group because you'll be using the same field on all projects and the calculation needs to be the same on each