Article - CS82856

Workflow variable is not updated after setting it in Activity Transition Start with API in Windchill PDMLink

Modified: 23-Aug-2017   


Applies To

  • Windchill PDMLink 9.1 M050 to 10.1 M020

Description

  • Workflow variable is not updated after setting it in Activity Transition Start with API.
  • Sample code is as following:

wt.workflow.engine.WfProcess parent = (wt.workflow.work.WfAssignedActivity)self.getObject().getParentProcess();
parent.getContext().getVariable("<Variable name>").setValue("Variable new value");
wt.fc.PersistenceHelper.manager.save(parent);

This is a printer-friendly version of Article 82856 and may be out of date. For the latest version click CS82856