Skip to main content
7-Bedrock
July 11, 2023
Question

Create Custom node in Workflow Template

  • July 11, 2023
  • 2 replies
  • 1817 views
I am using Windchill PDMLink Release 11.2 and Datecode with CPS 11.2.0.0

We want to create the new custom node on the Workflow Template Edit dialog. It could be just like the "Execute Expression" node.
How to create and Display that custom node on UI?

    2 replies

    avillanueva
    23-Emerald I
    23-Emerald I
    July 11, 2023

    Can you describe your requirement? What kind of node would you want to create that is not satisfied by the existing types? This would be a very difficult thing to do.

    7-Bedrock
    July 12, 2023

    We want to create the node the same as the "Execute Expression" node. 

     

    We have some Java expression code that can be used every time in the "Execute Expression" node while creating workflow templates. So we think it is better to have a custom node that includes the pre-existing Java code.

    HelesicPetr
    22-Sapphire II
    22-Sapphire II
    July 12, 2023

    Hi @prescient_rohit 

     

    So use the existing type Execute expression node. Put there your code and that's all. 

    You don't need any special new type node. Just add the existing type as a new one. 

    HelesicPetr_0-1689144406569.png

     

    PetrH

    18-Opal
    July 11, 2023

    If it’s “just like the Execution Expression node” why do you need a new node? 🤷‍♂️

    7-Bedrock
    July 12, 2023

    We have some Java expression code that can be used every time in the "Execution Expression" node while creating workflow templates. So we think it is better to have a custom node that includes the pre-existing Java code.