Home Documentum

Update running workflow name

edited May 19, 2015 in Documentum

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.

Comments

  • edited October 30, 2014

    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");

    }

  • edited May 19, 2015

    Hello , did you find any solution?

    Thanks.

  • edited May 19, 2015

    I had multiple calls with EMC support and they no longer support/allow changing the workflow name after its running, change was made in DCTM 7.0 and greater. The only way you can change the name after the fact is directly in your database server.

    Thanks,

    Akheil Jain

  • edited May 19, 2015

    Thanks!

Sign In or Register to comment.