Update running workflow name
Hi All,
In DFC 6.7 SP2, I was able to update the running workflow name by using a dql query or dfc followed by a save. After upgrading to DFC 7.1, updating by dql is no longer supported and throws an error "[DM_WORKFLOW_E_SAVE_ONCE] ". If I try updating the name using DFC, the name doesn't get updated. workflow.setObjectName("new name"), if I run a workflow.save() after the set command, I get the same error as I get with DQL.
Thanks in advance for any assistance.
Tagged:
0
Comments
-
Here the code I am running as a automated workflow task:
private void updateWfName (IDfSession session, IDfWorkitem workitem)
{
IDfWorkflow workflowobj = (IDfWorkflow) session.getObject(workitem.getWorkflowId());
workflowobj.setObjectName("Testing workflow name update");
}
0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management