Workflow Task Calculate Name and Calculate Parent features

DRM (Data Relationship Management) version brings some new features to DRG, specifically to the workflow tasks and in this post we will talk about the Calculate Name and Calculate Parent features. (Hopefully, a Calculate Description option will be added in a future release)

Before I start, I just want to mention that I had not personally used the DRG aspect of DRM before this version and I’m not sure how people were setting up Add Limb or Add Leaf tasks without this 2 new features. Without those, we wouldn’t have been able to use DRG on one of our recent projects.

Now, when can you leverage the Calculate Name and Calculate Parent features?

That actually depends on what kind of Action Type you’re setting a workflow task for.

  • Calculate Name is available for the following Action Types:
    • Add Limb
    • Add Leaf
  • Calculate Parent is available for the following Action Types:
    • Add Limb
    • Add Leaf
    • Insert
    • Move

Turn on the Calculate Name and Calculate Parent features 

Once you have created a workflow task with one of the above Action Type, you will see that by default the 2 new tabs Calculate Name and Calculate Parent are greyed out. I’m going to show you in this post how to activate those features. It wasn’t obvious to me and the DRM documentation wasn’t great.

Workflow Task Calculate Name Calculate Parent greyed out

In the past, you had to ask the workflow user to specify in the DRG requests the node name and the node parent. Now if you need to, you can derive the node name and/or the node parent.

First you will need to activate the desired option. To do that, go to the Properties tab. Then on the right side, you should see the Name, Node Parent and Description properties automatically selected. (because I’m using the Add Leaf Action type in my example)



Add Leaf workflow task default properties

Now, select Name for example and click on the Pen in the Action column. Once done, you will see the Calculate option check box. Check it then save.

Calculate feature check box

Once done, you will able to select the tab you just activated.

Calculate Name is now available

You can now start working on the javascript code that will be used to calculate the node name (or Parent Node).

In a separate post, I’ll show you examples on how we leveraged those 2 new features on a recent project.

Will Oscar Andreelli

About Will Oscar Andreelli

Footballer (soccer to Americans), free diver and Tough Mudder (er?), Will is as comfortable in the outdoors as he is in front of an allocation script. His mom calls him “the best EPM consultant in the West of Versailles”. Having helped a number of clients with their planning and forecasting needs, he is now intent on writing about his exploits...


  1. Hi Will Oscar,
    I was wondering if you are going to post the second part to this? The examples on how we leveraged those 2 new features on a recent project? I would really appreciate viewing some sample javascript code that you used. Thanks so much!

  2. Hi Will Oscar,

    Good Post!

    Can you please share that code as well, then it would be great.

  3. Will Oscar Andreelli
    Will Oscar Andreelli

    Rachel / jaggu – finally had time to work on what you were looking for.

Leave a Reply

Your email address will not be published. Required fields are marked *