Skip to main content
1-Visitor
March 7, 2017
Solved

Windchill workflow activity rename

  • March 7, 2017
  • 2 replies
  • 4930 views

I'm in Workflow Administrator (Windchill 9.1) trying to update one of our workflows.  We need to have some of the Activity tasks renamed.  I have edited the name in the General Tab, saved the workflow, checked it back in, imported it, etc.  But when I run the workflow its still using the older Activity task name, even though when I open the workflow it has the new name there.  What am I missing?  Sorry I'm new to editing the workflows?  Is a server restart required?  It seems like a simple thing, yet it's not working?

Best answer by vedderkris

We figured it out.  In the Transitions tab, under Start we have some Java code that gets the Activity name to appear with the task name.  The task name is specifically spelled out.  We realized this when we went forward to try to recreate the task.  Someone else added that code for our workflows and we just forgot about it.  Weird, duh moment.  Glad we solved it. Thanks. 

2 replies

22-Sapphire I
March 7, 2017

Is the lifecycle template which calls this workflow template configured with the checkmark in "use latest iteration of workflow?"  If not, then the iteration of workflow called is fixed.

1-Visitor
March 7, 2017

The lifecycle does have the use latest iteration of workflow checked, throughout all states.

1-Visitor
March 8, 2017

The steps you followed should work. Did you initiate a new workflow, say create a new object or set the state of the object to a state that triggers the workflow?  Changes in workflow templates are only applicable for new instances of workflow process not for the existing ones

Kristie Schwartz wrote:

I have edited the name in the General Tab, saved the workflow, checked it back in, imported it, etc.

I am not sure about the import the import process you mentioned? You don't have to import the workflow unless you have exported a latest copy from another system or from a backup

vedderkris1-VisitorAuthorAnswer
1-Visitor
March 8, 2017

We figured it out.  In the Transitions tab, under Start we have some Java code that gets the Activity name to appear with the task name.  The task name is specifically spelled out.  We realized this when we went forward to try to recreate the task.  Someone else added that code for our workflows and we just forgot about it.  Weird, duh moment.  Glad we solved it. Thanks.