Workflow variable is not updated after setting it in Activity Transition Start with API in Windchill PDMLink
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);